diff options
author | Xu Cuijie <975114697@qq.com> | 2022-11-13 02:31:03 +0000 |
---|---|---|
committer | Xu Cuijie <975114697@qq.com> | 2022-11-13 02:31:03 +0000 |
commit | d20dbe47e06de7f6c0e65242a04c9bb1410ef7cb (patch) | |
tree | 029e1ff6855598bd0ac90520aac5bc7ab97129e2 /modules | |
parent | 98947d173e3f1667eba29c904f681047dea9de90 (diff) | |
download | stable-diffusion-webui-gfx803-d20dbe47e06de7f6c0e65242a04c9bb1410ef7cb.tar.gz stable-diffusion-webui-gfx803-d20dbe47e06de7f6c0e65242a04c9bb1410ef7cb.tar.bz2 stable-diffusion-webui-gfx803-d20dbe47e06de7f6c0e65242a04c9bb1410ef7cb.zip |
fix the model name error of Real-ESRGAN in the opts default value
Diffstat (limited to 'modules')
-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 6936cbe0..c46c29f7 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -299,7 +299,7 @@ options_templates.update(options_section(('saving-to-dirs', "Saving to a directo options_templates.update(options_section(('upscaling', "Upscaling"), {
"ESRGAN_tile": OptionInfo(192, "Tile size for ESRGAN upscalers. 0 = no tiling.", gr.Slider, {"minimum": 0, "maximum": 512, "step": 16}),
"ESRGAN_tile_overlap": OptionInfo(8, "Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.", gr.Slider, {"minimum": 0, "maximum": 48, "step": 1}),
- "realesrgan_enabled_models": OptionInfo(["R-ESRGAN x4+", "R-ESRGAN x4+ Anime6B"], "Select which Real-ESRGAN models to show in the web UI. (Requires restart)", gr.CheckboxGroup, lambda: {"choices": realesrgan_models_names()}),
+ "realesrgan_enabled_models": OptionInfo(["R-ESRGAN 4x+", "R-ESRGAN 4x+ Anime6B"], "Select which Real-ESRGAN models to show in the web UI. (Requires restart)", gr.CheckboxGroup, lambda: {"choices": realesrgan_models_names()}),
"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}),
|