mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-06-04 21:05:48 +08:00
- `/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 |
||
|---|---|---|
| .. | ||
| forge_canvas | ||
| alter_samplers.py | ||
| bnb_installer.py | ||
| config.py | ||
| cuda_malloc.py | ||
| diffusers_patcher.py | ||
| forge_space.py | ||
| forge_version.py | ||
| google_blockly.py | ||
| gradio_compile.py | ||
| initialization.py | ||
| main_entry.py | ||
| main_thread.py | ||
| patch_basic.py | ||
| shared_options.py | ||
| shared.py | ||
| supported_controlnet.py | ||
| supported_preprocessor.py | ||
| utils.py | ||