diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-08 12:19:36 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-08 12:19:36 +0000 |
commit | f5001246e27e78422bb11187160702bcaba7daca (patch) | |
tree | f61b564d088b5b2df74d86fae6c2ad4cb9cb7dd7 /modules/shared.py | |
parent | 3eea3c4dab96e75afcafbd37c3da5a31cac0f9cb (diff) | |
download | stable-diffusion-webui-gfx803-f5001246e27e78422bb11187160702bcaba7daca.tar.gz stable-diffusion-webui-gfx803-f5001246e27e78422bb11187160702bcaba7daca.tar.bz2 stable-diffusion-webui-gfx803-f5001246e27e78422bb11187160702bcaba7daca.zip |
honor tiling settings for RealESRGAN also
load scripts earlier to get errors before model loads
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/shared.py b/modules/shared.py index de7cbf02..85318d7e 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -118,8 +118,8 @@ class Options: "font": OptionInfo(find_any_font(), "Font for image grids that have text"),
"enable_emphasis": OptionInfo(True, "Use (text) to make model pay more attention to text text and [text] to make it pay less attention"),
"save_txt": OptionInfo(False, "Create a text file next to every image with generation parameters."),
- "ESRGAN_tile": OptionInfo(192, "Tile size for ESRGAN upscaling. 0 = no tiling.", gr.Slider, {"minimum": 0, "maximum": 512, "step": 16}),
- "ESRGAN_tile_overlap": OptionInfo(8, "Tile overlap, in pixels for ESRGAN upscaling. Low values = visible seam.", gr.Slider, {"minimum": 0, "maximum": 48, "step": 1}),
+ "ESRGAN_tile": OptionInfo(192, "Tile size for upscaling. 0 = no tiling.", gr.Slider, {"minimum": 0, "maximum": 512, "step": 16}),
+ "ESRGAN_tile_overlap": OptionInfo(8, "Tile overlap, in pixels for upscaling. Low values = visible seam.", gr.Slider, {"minimum": 0, "maximum": 48, "step": 1}),
"random_artist_categories": OptionInfo([], "Allowed categories for random artists selection when using the Roll button", gr.CheckboxGroup, {"choices": artist_db.categories()}),
"upscale_at_full_resolution_padding": OptionInfo(16, "Inpainting at full resolution: padding, in pixels, for the masked region.", gr.Slider, {"minimum": 0, "maximum": 128, "step": 4}),
"show_progressbar": OptionInfo(True, "Show progressbar"),
|