aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-18 14:41:37 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-18 14:41:37 +0000
commit66c5f1bb1556a2d86d9f11aeb92f83d4a09832cc (patch)
treef8b6ed9f3c03bf2852e2ee844d3f3ec48dfe60af /modules/shared.py
parent4b5a63aa1135757ef9db58b15f5426e758d285d0 (diff)
downloadstable-diffusion-webui-gfx803-66c5f1bb1556a2d86d9f11aeb92f83d4a09832cc.tar.gz
stable-diffusion-webui-gfx803-66c5f1bb1556a2d86d9f11aeb92f83d4a09832cc.tar.bz2
stable-diffusion-webui-gfx803-66c5f1bb1556a2d86d9f11aeb92f83d4a09832cc.zip
return sd_model_checkpoint to None
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 a256d090..6162938a 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -409,7 +409,7 @@ options_templates.update(options_section(('training', "Training"), {
}))
options_templates.update(options_section(('sd', "Stable Diffusion"), {
- "sd_model_checkpoint": OptionInfo("", "Stable Diffusion checkpoint", gr.Dropdown, lambda: {"choices": list_checkpoint_tiles()}, refresh=refresh_checkpoints),
+ "sd_model_checkpoint": OptionInfo(None, "Stable Diffusion checkpoint", gr.Dropdown, lambda: {"choices": list_checkpoint_tiles()}, refresh=refresh_checkpoints),
"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": shared_items.sd_vae_items()}, refresh=shared_items.refresh_vae_list).info("choose VAE model: Automatic = use one with same filename as checkpoint; None = use VAE from checkpoint"),