diff options
author | Billy Cao <aliencaocao@gmail.com> | 2022-11-06 16:33:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-06 16:33:08 +0800 |
commit | c13e234444e98d112e9fe99d518c834edeb79471 (patch) | |
tree | 8dfa10582dccb75685b4dd3ee28d1d48c0a6f595 /scripts/sd_upscale.py | |
parent | 55ca04095845b41bf66333b3b7343e3ea0babed1 (diff) | |
parent | 5302e2cdd4c8f039a68e900d739285d15d99d200 (diff) |
Merge branch 'master' into enable-override-hypernet
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]
|