aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-01-15 21:44:46 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-01-15 21:44:52 +0000
commit3f887f7f61d69fa699a272166b79fdb787e9ce1d (patch)
treef9094a80a633612e8c7cb520a82f1cdf2fd07b00 /modules/shared.py
parent300d4a80df13137407e713b93c7481af3c202999 (diff)
downloadstable-diffusion-webui-gfx803-3f887f7f61d69fa699a272166b79fdb787e9ce1d.tar.gz
stable-diffusion-webui-gfx803-3f887f7f61d69fa699a272166b79fdb787e9ce1d.tar.bz2
stable-diffusion-webui-gfx803-3f887f7f61d69fa699a272166b79fdb787e9ce1d.zip
support old configs that say "auto" for ssd_vae
change sd_vae_as_default to True by default as it's a more sensible setting
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index f06ae610..c5fc250e 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -394,7 +394,7 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), {
"sd_checkpoint_cache": OptionInfo(0, "Checkpoints to cache in RAM", gr.Slider, {"minimum": 0, "maximum": 10, "step": 1}),
"sd_vae_checkpoint_cache": OptionInfo(0, "VAE Checkpoints to cache in RAM", gr.Slider, {"minimum": 0, "maximum": 10, "step": 1}),
"sd_vae": OptionInfo("Automatic", "SD VAE", gr.Dropdown, lambda: {"choices": ["Automatic", "None"] + list(sd_vae.vae_dict)}, refresh=sd_vae.refresh_vae_list),
- "sd_vae_as_default": OptionInfo(False, "Ignore selected VAE for stable diffusion checkpoints that have their own .vae.pt next to them"),
+ "sd_vae_as_default": OptionInfo(True, "Ignore selected VAE for stable diffusion checkpoints that have their own .vae.pt next to them"),
"sd_hypernetwork": OptionInfo("None", "Hypernetwork", gr.Dropdown, lambda: {"choices": ["None"] + [x for x in hypernetworks.keys()]}, refresh=reload_hypernetworks),
"sd_hypernetwork_strength": OptionInfo(1.0, "Hypernetwork strength", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.001}),
"inpainting_mask_weight": OptionInfo(1.0, "Inpainting conditioning mask strength", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),