diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-11-04 05:38:11 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-11-04 05:38:19 +0000 |
commit | 4dd898b8c15e342f817d3fb1c8dc9f2d5d111022 (patch) | |
tree | 9ac38cfb3fab5edf3d61bae2a8825b5755173e5d /scripts/outpainting_mk_2.py | |
parent | 59a21a67d220d6943be2fc3c5632c02c3ffc99d1 (diff) | |
download | stable-diffusion-webui-gfx803-4dd898b8c15e342f817d3fb1c8dc9f2d5d111022.tar.gz stable-diffusion-webui-gfx803-4dd898b8c15e342f817d3fb1c8dc9f2d5d111022.tar.bz2 stable-diffusion-webui-gfx803-4dd898b8c15e342f817d3fb1c8dc9f2d5d111022.zip |
do not mess with components' visibility for scripts; instead create group components and show/hide those; this will break scripts that create invisible components and rely on UI but the earlier i make this change the better
Diffstat (limited to 'scripts/outpainting_mk_2.py')
-rw-r--r-- | scripts/outpainting_mk_2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/outpainting_mk_2.py b/scripts/outpainting_mk_2.py index 2afd4aa5..cf71cb92 100644 --- a/scripts/outpainting_mk_2.py +++ b/scripts/outpainting_mk_2.py @@ -132,7 +132,7 @@ class Script(scripts.Script): info = gr.HTML("<p style=\"margin-bottom:0.75em\">Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8</p>")
pixels = gr.Slider(label="Pixels to expand", minimum=8, maximum=256, step=8, value=128)
- mask_blur = gr.Slider(label='Mask blur', minimum=0, maximum=64, step=1, value=8, visible=False)
+ mask_blur = gr.Slider(label='Mask blur', minimum=0, maximum=64, step=1, value=8)
direction = gr.CheckboxGroup(label="Outpainting direction", choices=['left', 'right', 'up', 'down'], value=['left', 'right', 'up', 'down'])
noise_q = gr.Slider(label="Fall-off exponent (lower=higher detail)", minimum=0.0, maximum=4.0, step=0.01, value=1.0)
color_variation = gr.Slider(label="Color variation", minimum=0.0, maximum=1.0, step=0.01, value=0.05)
|