aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBernard Maltais <bmaltais@gmail.com>2022-09-28 08:56:07 -0400
committerBernard Maltais <bmaltais@gmail.com>2022-09-28 08:56:07 -0400
commit228a2f30e7f8ae1a752c68ac189e9ca6bb4e29f6 (patch)
tree6273e8002a38fc9037110ac0abc85bab356a283a /modules
parentfe2f0e172923d4714cfef137400841f9ff7541fc (diff)
Remove unintended code commit for this PR
Diffstat (limited to 'modules')
-rw-r--r--modules/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 798a6f31..2502fe2d 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.Dropdown, lambda: {"choices": sorted([x.title for x in modules.sd_models.checkpoints_list.values()])}),
+ "sd_model_checkpoint": OptionInfo(None, "Stable Diffusion checkpoint", gr.Radio, lambda: {"choices": [x.title for x in modules.sd_models.checkpoints_list.values()]}),
"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)."),