Spaces:
Runtime error
Runtime error
liuyizhang
commited on
Commit
•
53720d1
1
Parent(s):
7a7f9d8
update app.py
Browse files
app.py
CHANGED
@@ -680,9 +680,8 @@ def change_radio_display(task_type, mask_source_radio, num_relation): #, gsa_gal
|
|
680 |
num_relation_visible = True
|
681 |
# gsa_gallery_visible = False
|
682 |
# ram_gallery_visible = True
|
683 |
-
return gr.Textbox.update(visible=text_prompt_visible), gr.Textbox.update(visible=inpaint_prompt_visible),
|
684 |
-
|
685 |
-
# gr.Gallery.update(visible=gas_gallery_visible), gr.Gallery.update(visible=ram_gallery_visible)
|
686 |
|
687 |
if __name__ == "__main__":
|
688 |
parser = argparse.ArgumentParser("Grounded SAM demo", add_help=True)
|
|
|
680 |
num_relation_visible = True
|
681 |
# gsa_gallery_visible = False
|
682 |
# ram_gallery_visible = True
|
683 |
+
return gr.Textbox.update(visible=text_prompt_visible), gr.Textbox.update(visible=inpaint_prompt_visible), gr.Radio.update(visible=mask_source_radio_visible), gr.Slider.update(visible=num_relation_visible)
|
684 |
+
# gr.Gallery.update(visible=gas_gallery_visible), gr.Gallery.update(visible=ram_gallery_visible)
|
|
|
685 |
|
686 |
if __name__ == "__main__":
|
687 |
parser = argparse.ArgumentParser("Grounded SAM demo", add_help=True)
|