diff options
author | Leon Feng <523684+leon0707@users.noreply.github.com> | 2023-07-16 03:31:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 03:31:59 +0000 |
commit | d380f939b5ab6a28bed6d1de3cf283e194255963 (patch) | |
tree | 427a8262c8df106fe35c0cd49a69e08fe9ad7ee8 | |
parent | f865d3e11647dfd6c7b2cdf90dde24680e58acd8 (diff) | |
download | stable-diffusion-webui-gfx803-d380f939b5ab6a28bed6d1de3cf283e194255963.tar.gz stable-diffusion-webui-gfx803-d380f939b5ab6a28bed6d1de3cf283e194255963.tar.bz2 stable-diffusion-webui-gfx803-d380f939b5ab6a28bed6d1de3cf283e194255963.zip |
Update shared.py
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index a0862055..564799bc 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -394,7 +394,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"),
|