diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-19 09:21:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-19 09:21:22 +0000 |
commit | 5bfef6e06345540a737a8759649017e5c2ea180c (patch) | |
tree | 1b4c4a2936f230c7b5e51558db7e6ae3175cccf6 /modules/shared.py | |
parent | cdc8020d13c5eef099c609b0a911ccf3568afc0d (diff) | |
parent | f1bdf2b15f32dffe9947fc14b107c1b8bd51ab55 (diff) | |
download | stable-diffusion-webui-gfx803-5bfef6e06345540a737a8759649017e5c2ea180c.tar.gz stable-diffusion-webui-gfx803-5bfef6e06345540a737a8759649017e5c2ea180c.tar.bz2 stable-diffusion-webui-gfx803-5bfef6e06345540a737a8759649017e5c2ea180c.zip |
Merge pull request #4844 from R-N/vae-misc
Remove no longer necessary code from VAE selector, fix #4651
Diffstat (limited to 'modules/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 1c42641d..84567c8e 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -334,7 +334,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": modules.sd_models.checkpoint_tiles()}, refresh=sd_models.list_models),
"sd_checkpoint_cache": OptionInfo(0, "Checkpoints to cache in RAM", gr.Slider, {"minimum": 0, "maximum": 10, "step": 1}),
- "sd_vae": OptionInfo("auto", "SD VAE", gr.Dropdown, lambda: {"choices": list(sd_vae.vae_list)}, refresh=sd_vae.refresh_vae_list),
+ "sd_vae": OptionInfo("auto", "SD VAE", gr.Dropdown, lambda: {"choices": sd_vae.vae_list}, 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_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}),
|