aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-10 20:41:08 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-05-10 20:41:08 +0000
commit8aa87c564a79965013715d56a5f90d2a34d5d6ee (patch)
tree0a53fc8e1ffe7d24463b77c8ab2386797c6c4a8a /webui.py
parent5abecea34cd98537f006c5e9a197acd1fe9db023 (diff)
downloadstable-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.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/webui.py b/webui.py
index 5d5e80b5..2eecfaa0 100644
--- a/webui.py
+++ b/webui.py
@@ -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")