aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sd_upscale.py
diff options
context:
space:
mode:
authorBruno Seoane <brunoseoaneamarillo@gmail.com>2022-11-04 19:40:13 +0000
committerBruno Seoane <brunoseoaneamarillo@gmail.com>2022-11-04 19:40:13 +0000
commitfd66f669ea25bad1409aec87ef14b8417009bddc (patch)
tree42348fb16d018920f6d7fc5970f6c54803ba5e72 /scripts/sd_upscale.py
parent31db25ecc8d9c3996e7bac00cc616ee12557b7d3 (diff)
parent89722fb5e4eda2adc5d3a6abf8babf8a58e80d69 (diff)
downloadstable-diffusion-webui-gfx803-fd66f669ea25bad1409aec87ef14b8417009bddc.tar.gz
stable-diffusion-webui-gfx803-fd66f669ea25bad1409aec87ef14b8417009bddc.tar.bz2
stable-diffusion-webui-gfx803-fd66f669ea25bad1409aec87ef14b8417009bddc.zip
Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui
Diffstat (limited to 'scripts/sd_upscale.py')
-rw-r--r--scripts/sd_upscale.py4
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]