zhiweili
commited on
Commit
·
45c6d09
1
Parent(s):
13cda97
change default value
Browse files- app_base.py +1 -1
app_base.py
CHANGED
@@ -108,7 +108,7 @@ def create_demo() -> gr.Blocks:
|
|
108 |
with gr.Accordion("Advanced Options", open=False):
|
109 |
guidance_scale = gr.Slider(minimum=0, maximum=20, value=0, step=0.5, label="Guidance Scale")
|
110 |
segment_size = gr.Number(label="Segment Size", value=1024)
|
111 |
-
generate_size = gr.Number(label="Generate Size", value=
|
112 |
mask_expansion = gr.Number(label="Mask Expansion", value=50, visible=True)
|
113 |
mask_dilation = gr.Slider(minimum=0, maximum=10, value=2, step=1, label="Mask Dilation")
|
114 |
with gr.Column():
|
|
|
108 |
with gr.Accordion("Advanced Options", open=False):
|
109 |
guidance_scale = gr.Slider(minimum=0, maximum=20, value=0, step=0.5, label="Guidance Scale")
|
110 |
segment_size = gr.Number(label="Segment Size", value=1024)
|
111 |
+
generate_size = gr.Number(label="Generate Size", value=512)
|
112 |
mask_expansion = gr.Number(label="Mask Expansion", value=50, visible=True)
|
113 |
mask_dilation = gr.Slider(minimum=0, maximum=10, value=2, step=1, label="Mask Dilation")
|
114 |
with gr.Column():
|