Spaces:
Running
on
Zero
Running
on
Zero
zhiweili
commited on
Commit
•
364bfbc
1
Parent(s):
386a133
update mask_expansion
Browse files- app_img2img.py +1 -1
app_img2img.py
CHANGED
@@ -77,7 +77,7 @@ def create_demo() -> gr.Blocks:
|
|
77 |
with gr.Column():
|
78 |
num_steps = gr.Slider(minimum=1, maximum=100, value=30, step=1, label="Num Steps")
|
79 |
guidance_scale = gr.Slider(minimum=0, maximum=30, value=5, step=0.5, label="Guidance Scale")
|
80 |
-
mask_expansion = gr.Number(label="Mask Expansion", value=
|
81 |
with gr.Column():
|
82 |
mask_dilation = gr.Slider(minimum=0, maximum=10, value=2, step=1, label="Mask Dilation")
|
83 |
seed = gr.Number(label="Seed", value=8)
|
|
|
77 |
with gr.Column():
|
78 |
num_steps = gr.Slider(minimum=1, maximum=100, value=30, step=1, label="Num Steps")
|
79 |
guidance_scale = gr.Slider(minimum=0, maximum=30, value=5, step=0.5, label="Guidance Scale")
|
80 |
+
mask_expansion = gr.Number(label="Mask Expansion", value=50, visible=False)
|
81 |
with gr.Column():
|
82 |
mask_dilation = gr.Slider(minimum=0, maximum=10, value=2, step=1, label="Mask Dilation")
|
83 |
seed = gr.Number(label="Seed", value=8)
|