stable-diffusion-webui-forge/modules_forge
altoiddealer 2c543719e3
Improve options management (#2078)
- `/sdapi/v1/options` GET now calls `get_config()` from **sysinfo** module, instead of from its own version of the function.

- Defined a new, flexible and more robust `set_config()` function in **sysinfo** module, which:
  - obsoletes redundant code
  - skips updating values that are unchanged
  - has flexible args for both API and UI use

- `/sdapi/v1/options` POST and `override_settings` now use the new `set_config()` function.  `set_config()` could possibly obsolete additional functions, but I'm not going to get into that just yet.

- Options for `forge_additional_modules` can now be provided either as the file path, or just the module name.

- Most importantly, `refresh_model_loading_parameters()` is now only called ONCE per request, and **only** if necessary.

- It is now much easier to call `shared.opts.save()` as needed
2024-10-16 11:21:54 +01:00
..
forge_canvas fix for control images (#2011) 2024-10-08 13:37:46 +01:00
alter_samplers.py Update alter_samplers.py 2024-08-20 15:00:56 +01:00
bnb_installer.py forge 2.0.0 2024-08-10 19:24:19 -07:00
config.py upload meta files 2024-08-18 00:12:53 -07:00
cuda_malloc.py add two optimizations 2024-02-23 18:39:32 -08:00
diffusers_patcher.py move to new backend - part 2 2024-08-03 15:10:37 -07:00
forge_space.py [Space] Add the ability to reinstall requirements specifically (#1783) 2024-09-14 12:54:52 +01:00
forge_version.py Update forge_version.py 2024-08-10 19:58:04 -07:00
google_blockly.py remove some assets and dependences from repo 2024-10-03 21:17:51 -07:00
gradio_compile.py integrate latent modifier 2024-02-09 14:38:57 -08:00
initialization.py Forge Space and BiRefNet 2024-08-17 08:29:08 -07:00
main_entry.py Improve options management (#2078) 2024-10-16 11:21:54 +01:00
main_thread.py thread safety 2024-08-13 15:45:45 -07:00
patch_basic.py update some codes related to win32 2024-08-21 03:23:34 -07:00
shared_options.py Not all AUTOMATIC have beard 2024-08-15 01:25:47 -07:00
shared.py move to new backend - part 2 2024-08-03 15:10:37 -07:00
supported_controlnet.py [revised] change some dtype behaviors based on community feedbacks 2024-08-21 10:23:38 -07:00
supported_preprocessor.py rename files 2024-08-03 15:54:39 -07:00
utils.py add note to Tiling 2024-08-08 13:33:03 -07:00