diff options
author | space-nuko <24979496+space-nuko@users.noreply.github.com> | 2023-03-29 23:32:54 +0000 |
---|---|---|
committer | space-nuko <24979496+space-nuko@users.noreply.github.com> | 2023-03-29 23:35:25 +0000 |
commit | f3320b802c12f29e5a3201fcc0abfe72be294293 (patch) | |
tree | a0bfd03ca72a5c20ebe7847cd52eee819e0873a8 /webui.py | |
parent | f22d0dde4e57444b2d4fe997338550bb82bb249e (diff) | |
download | stable-diffusion-webui-gfx803-f3320b802c12f29e5a3201fcc0abfe72be294293.tar.gz stable-diffusion-webui-gfx803-f3320b802c12f29e5a3201fcc0abfe72be294293.tar.bz2 stable-diffusion-webui-gfx803-f3320b802c12f29e5a3201fcc0abfe72be294293.zip |
Various UI fixes in config state tab
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -114,8 +114,10 @@ def initialize(): print(f"*** About to restore extension state from file: {config_state_file}")
with open(config_state_file, "r", encoding="utf-8") as f:
config_state = json.load(f)
- config_states.restore_extension_state(config_state)
+ config_states.restore_extension_config(config_state)
startup_timer.record("restore extension config")
+ else:
+ print(f"!!! Config state backup not found: {config_state_file}")
if cmd_opts.ui_debug_mode:
shared.sd_upscalers = upscaler.UpscalerLanczos().scalers
@@ -321,8 +323,10 @@ def webui(): print(f"*** About to restore extension state from file: {config_state_file}")
with open(config_state_file, "r", encoding="utf-8") as f:
config_state = json.load(f)
- config_states.restore_extension_state(config_state)
+ config_states.restore_extension_config(config_state)
startup_timer.record("restore extension config")
+ else:
+ print(f"!!! Config state backup not found: {config_state_file}")
localization.list_localizations(cmd_opts.localizations_dir)
|