aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-18 08:48:01 +0000
committerGitHub <noreply@github.com>2023-07-18 08:48:01 +0000
commit6be5ccb530dbaac53228e24c69e30909aaa14748 (patch)
tree8ac9948d89606f7519df786f07f6ddb93c3d2720
parent871b8687a82bb2ca907d8a49c87aed7635b8fc33 (diff)
parenta3730bd9becd2f1f5d209885b694b0dec178d110 (diff)
downloadstable-diffusion-webui-gfx803-6be5ccb530dbaac53228e24c69e30909aaa14748.tar.gz
stable-diffusion-webui-gfx803-6be5ccb530dbaac53228e24c69e30909aaa14748.tar.bz2
stable-diffusion-webui-gfx803-6be5ccb530dbaac53228e24c69e30909aaa14748.zip
Merge pull request #11854 from leon0707/fix-11805
Fix #11805
-rw-r--r--modules/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 6162938a..a256d090 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(None, "Stable Diffusion checkpoint", gr.Dropdown, lambda: {"choices": list_checkpoint_tiles()}, refresh=refresh_checkpoints),
+ "sd_model_checkpoint": OptionInfo("", "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"),