diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-03 04:57:59 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-03 04:57:59 +0000 |
commit | 138662734c25dab4e73e632b7eaff9ad9c0ce2b4 (patch) | |
tree | 09222073045c17fe19fb4a804c9000393aaf97e9 /modules/shared.py | |
parent | 4c2eccf8e96825333ed400f8a8a2be78141ed8ec (diff) | |
download | stable-diffusion-webui-gfx803-138662734c25dab4e73e632b7eaff9ad9c0ce2b4.tar.gz stable-diffusion-webui-gfx803-138662734c25dab4e73e632b7eaff9ad9c0ce2b4.tar.bz2 stable-diffusion-webui-gfx803-138662734c25dab4e73e632b7eaff9ad9c0ce2b4.zip |
use dropdown instead of radio for img2img upscaler selection
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 7246eadc..2a599e9c 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -183,7 +183,7 @@ options_templates.update(options_section(('upscaling', "Upscaling"), { "SWIN_tile": OptionInfo(192, "Tile size for all SwinIR.", gr.Slider, {"minimum": 16, "maximum": 512, "step": 16}),
"SWIN_tile_overlap": OptionInfo(8, "Tile overlap, in pixels for SwinIR. Low values = visible seam.", gr.Slider, {"minimum": 0, "maximum": 48, "step": 1}),
"ldsr_steps": OptionInfo(100, "LDSR processing steps. Lower = faster", gr.Slider, {"minimum": 1, "maximum": 200, "step": 1}),
- "upscaler_for_img2img": OptionInfo(None, "Upscaler for img2img", gr.Radio, lambda: {"choices": [x.name for x in sd_upscalers]}),
+ "upscaler_for_img2img": OptionInfo(None, "Upscaler for img2img", gr.Dropdown, lambda: {"choices": [x.name for x in sd_upscalers]}),
}))
options_templates.update(options_section(('face-restoration', "Face restoration"), {
|