diff options
author | Muhammad Rizqi Nur <rizqinur2010@gmail.com> | 2022-11-19 15:21:00 +0700 |
---|---|---|
committer | Muhammad Rizqi Nur <rizqinur2010@gmail.com> | 2022-11-19 15:21:00 +0700 |
commit | 45dca0562e0a68d2f92a5b6fe0412dcd8ba0659e (patch) | |
tree | fe4131dd0f3251022c62120a5ef6bf79fa1242a3 /webui.py | |
parent | 028b67b6357b5a00ccbd6ea72d2f244a6664162b (diff) | |
parent | d9fd4525a5d684100997130cc4132736bab1e4d9 (diff) |
Merge branch 'a1111' into vae-fix-none
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -82,6 +82,7 @@ def initialize(): modules.sd_models.load_model()
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()))
shared.opts.onchange("sd_vae", wrap_queued_call(lambda: modules.sd_vae.reload_vae_weights()), call=False)
+ shared.opts.onchange("sd_vae_as_default", wrap_queued_call(lambda: modules.sd_vae.reload_vae_weights()), call=False)
shared.opts.onchange("sd_hypernetwork", wrap_queued_call(lambda: modules.hypernetworks.hypernetwork.load_hypernetwork(shared.opts.sd_hypernetwork)))
shared.opts.onchange("sd_hypernetwork_strength", modules.hypernetworks.hypernetwork.apply_strength)
|