Spaces:
Running
on
T4
Running
on
T4
yizhangliu
commited on
Commit
•
7120670
1
Parent(s):
5128046
update app.py
Browse files
app.py
CHANGED
@@ -1030,7 +1030,7 @@ def main_gradio(args):
|
|
1030 |
remove_mode = gr.Radio(["segment", "rectangle"], value="segment", label='remove mode')
|
1031 |
with gr.Column(scale=1):
|
1032 |
remove_mask_extend = gr.Textbox(label="remove_mask_extend", value='10')
|
1033 |
-
with gr.Column(scale=1):
|
1034 |
remove_use_segment = gr.Checkbox(value=True, elem_id='remove_use_segment', label="use segment for removing?", info="")
|
1035 |
with gr.Column():
|
1036 |
image_gallery = gr.Gallery(label="result images", show_label=True, elem_id="gallery", height=512, visible=True
|
|
|
1030 |
remove_mode = gr.Radio(["segment", "rectangle"], value="segment", label='remove mode')
|
1031 |
with gr.Column(scale=1):
|
1032 |
remove_mask_extend = gr.Textbox(label="remove_mask_extend", value='10')
|
1033 |
+
with gr.Column(scale=1, visible=False):
|
1034 |
remove_use_segment = gr.Checkbox(value=True, elem_id='remove_use_segment', label="use segment for removing?", info="")
|
1035 |
with gr.Column():
|
1036 |
image_gallery = gr.Gallery(label="result images", show_label=True, elem_id="gallery", height=512, visible=True
|