diff options
author | papuSpartan <30642826+papuSpartan@users.noreply.github.com> | 2022-11-07 03:05:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 03:05:28 +0000 |
commit | 00ebc26c4e2962a31e067539d89cd695d999539a (patch) | |
tree | 4c2d46e00ffcc5b606f4841926b3a61fed903f00 /scripts/sd_upscale.py | |
parent | 86d35526a13a0e2432ab71d1d40b191615d3e343 (diff) | |
parent | 804d9fb83d0c63ca3acd36378707ce47b8f12599 (diff) | |
download | stable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.tar.gz stable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.tar.bz2 stable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.zip |
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'scripts/sd_upscale.py')
-rw-r--r-- | scripts/sd_upscale.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sd_upscale.py b/scripts/sd_upscale.py index cb37ff7e..01074291 100644 --- a/scripts/sd_upscale.py +++ b/scripts/sd_upscale.py @@ -18,8 +18,8 @@ class Script(scripts.Script): def ui(self, is_img2img):
info = gr.HTML("<p style=\"margin-bottom:0.75em\">Will upscale the image to twice the dimensions; use width and height sliders to set tile size</p>")
- overlap = gr.Slider(minimum=0, maximum=256, step=16, label='Tile overlap', value=64, visible=False)
- upscaler_index = gr.Radio(label='Upscaler', choices=[x.name for x in shared.sd_upscalers], value=shared.sd_upscalers[0].name, type="index", visible=False)
+ overlap = gr.Slider(minimum=0, maximum=256, step=16, label='Tile overlap', value=64)
+ upscaler_index = gr.Radio(label='Upscaler', choices=[x.name for x in shared.sd_upscalers], value=shared.sd_upscalers[0].name, type="index")
return [info, overlap, upscaler_index]
|