diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-28 21:59:44 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-28 21:59:44 +0000 |
commit | 7acfaca05a13352a7d86d281db6ad64dfd9350e0 (patch) | |
tree | d0879459e66c170c88fab1fddc4835c2d4c34ce3 /modules/shared.py | |
parent | 0dc904aa3d24184d0efa2469cde373e25a9a0e87 (diff) | |
download | stable-diffusion-webui-gfx803-7acfaca05a13352a7d86d281db6ad64dfd9350e0.tar.gz stable-diffusion-webui-gfx803-7acfaca05a13352a7d86d281db6ad64dfd9350e0.tar.bz2 stable-diffusion-webui-gfx803-7acfaca05a13352a7d86d281db6ad64dfd9350e0.zip |
update lists of models after merging them in checkpoints tab
support saving as half
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 39cf89bc..ec1e569b 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -190,7 +190,7 @@ options_templates.update(options_section(('system', "System"), { }))
options_templates.update(options_section(('sd', "Stable Diffusion"), {
- "sd_model_checkpoint": OptionInfo(None, "Stable Diffusion checkpoint", gr.Radio, lambda: {"choices": [x.title for x in modules.sd_models.checkpoints_list.values()]}),
+ "sd_model_checkpoint": OptionInfo(None, "Stable Diffusion checkpoint", gr.Radio, lambda: {"choices": modules.sd_models.checkpoint_tiles()}),
"img2img_color_correction": OptionInfo(False, "Apply color correction to img2img results to match original colors."),
"save_images_before_color_correction": OptionInfo(False, "Save a copy of image before applying color correction to img2img results"),
"img2img_fix_steps": OptionInfo(False, "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising)."),
|