diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-27 11:16:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 11:16:45 +0000 |
commit | eb085501080a6ee76caa3b19c6990348e60fc5c9 (patch) | |
tree | ae400965cb3c864f43d8d187b356e8450883b407 | |
parent | ca8c764af82fc1fb06910e7c1c87c52f6407be62 (diff) | |
parent | 263b323de12eb2444b0818105575a2bc69ab0344 (diff) | |
download | stable-diffusion-webui-gfx803-eb085501080a6ee76caa3b19c6990348e60fc5c9.tar.gz stable-diffusion-webui-gfx803-eb085501080a6ee76caa3b19c6990348e60fc5c9.tar.bz2 stable-diffusion-webui-gfx803-eb085501080a6ee76caa3b19c6990348e60fc5c9.zip |
Merge pull request #4663 from xucj98/draft
fix the model name error of Real-ESRGAN in the opts default value
-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 5e8a9d27..5067798c 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -323,7 +323,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}),
|