diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-04-29 08:34:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 08:34:35 +0000 |
commit | e55cb92067094564c259b515b8a6ec3869654083 (patch) | |
tree | a29ef41290f716e845d271e72d5b1c4c985f928a /modules/shared.py | |
parent | 5fe0dd79beaa5ef737ff85254ee9870f60ae9464 (diff) | |
parent | dec5cdd9b89dd683f04fb904ebd8a56dfce860ae (diff) | |
download | stable-diffusion-webui-gfx803-e55cb92067094564c259b515b8a6ec3869654083.tar.gz stable-diffusion-webui-gfx803-e55cb92067094564c259b515b8a6ec3869654083.tar.bz2 stable-diffusion-webui-gfx803-e55cb92067094564c259b515b8a6ec3869654083.zip |
Merge pull request #9737 from AdjointOperator/master
add tiled inference support for ScuNET
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 73704889..36f4ed5e 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -286,6 +286,8 @@ options_templates.update(options_section(('upscaling', "Upscaling"), { "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 4x+", "R-ESRGAN 4x+ Anime6B"], "Select which Real-ESRGAN models to show in the web UI. (Requires restart)", gr.CheckboxGroup, lambda: {"choices": shared_items.realesrgan_models_names()}),
"upscaler_for_img2img": OptionInfo(None, "Upscaler for img2img", gr.Dropdown, lambda: {"choices": [x.name for x in sd_upscalers]}),
+ "SCUNET_tile": OptionInfo(256, "Tile size for SCUNET upscalers. 0 = no tiling.", gr.Slider, {"minimum": 0, "maximum": 512, "step": 16}),
+ "SCUNET_tile_overlap": OptionInfo(8, "Tile overlap, in pixels for SCUNET upscalers. Low values = visible seam.", gr.Slider, {"minimum": 0, "maximum": 64, "step": 1}),
}))
options_templates.update(options_section(('face-restoration', "Face restoration"), {
|