diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 20:41:08 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 20:41:08 +0000 |
commit | 8aa87c564a79965013715d56a5f90d2a34d5d6ee (patch) | |
tree | 0a53fc8e1ffe7d24463b77c8ab2386797c6c4a8a /webui.py | |
parent | 5abecea34cd98537f006c5e9a197acd1fe9db023 (diff) | |
download | stable-diffusion-webui-gfx803-8aa87c564a79965013715d56a5f90d2a34d5d6ee.tar.gz stable-diffusion-webui-gfx803-8aa87c564a79965013715d56a5f90d2a34d5d6ee.tar.bz2 stable-diffusion-webui-gfx803-8aa87c564a79965013715d56a5f90d2a34d5d6ee.zip |
add UI to edit defaults
allow setting defaults for elements in extensions' tabs
fix a problem with ESRGAN upscalers disappearing after UI reload
implicit change: HTML element id for train tab from tab_ti to tab_train (will this break things?)
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -181,14 +181,11 @@ def initialize(): gfpgan.setup_model(cmd_opts.gfpgan_models_path)
startup_timer.record("setup gfpgan")
- modelloader.list_builtin_upscalers()
- startup_timer.record("list builtin upscalers")
-
modules.scripts.load_scripts()
startup_timer.record("load scripts")
modelloader.load_upscalers()
- #startup_timer.record("load upscalers") #Is this necessary? I don't know.
+ startup_timer.record("load upscalers")
modules.sd_vae.refresh_vae_list()
startup_timer.record("refresh VAE")
@@ -388,7 +385,6 @@ def webui(): localization.list_localizations(cmd_opts.localizations_dir)
- modelloader.forbid_loaded_nonbuiltin_upscalers()
modules.scripts.reload_scripts()
startup_timer.record("load scripts")
|