Spaces:
Runtime error
Runtime error
liuyizhang
commited on
Commit
•
867ce75
1
Parent(s):
ab4d582
update app.py
Browse files
app.py
CHANGED
@@ -714,12 +714,11 @@ if __name__ == "__main__":
|
|
714 |
mask_source_radio.change(fn=change_radio_display, inputs=[task_type, mask_source_radio], outputs=[text_prompt, inpaint_prompt, mask_source_radio, num_relation])
|
715 |
task_type.change(fn=change_radio_display, inputs=[task_type, mask_source_radio], outputs=[text_prompt, inpaint_prompt, mask_source_radio, num_relation])
|
716 |
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
# gr.Markdown(DESCRIPTION)
|
724 |
|
725 |
block.launch(server_name='0.0.0.0', debug=args.debug, share=args.share)
|
|
|
714 |
mask_source_radio.change(fn=change_radio_display, inputs=[task_type, mask_source_radio], outputs=[text_prompt, inpaint_prompt, mask_source_radio, num_relation])
|
715 |
task_type.change(fn=change_radio_display, inputs=[task_type, mask_source_radio], outputs=[text_prompt, inpaint_prompt, mask_source_radio, num_relation])
|
716 |
|
717 |
+
DESCRIPTION = f'### This demo from [Grounded-Segment-Anything](https://github.com/IDEA-Research/Grounded-Segment-Anything). <br>'
|
718 |
+
DESCRIPTION += f'RAM from [RelateAnything](https://github.com/Luodian/RelateAnything). <br>'
|
719 |
+
DESCRIPTION += f'Thanks for their excellent work.'
|
720 |
+
DESCRIPTION += f'<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. \
|
721 |
+
<a href="https://huggingface.co/spaces/yizhangliu/Grounded-Segment-Anything?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
|
722 |
+
gr.Markdown(DESCRIPTION)
|
|
|
723 |
|
724 |
block.launch(server_name='0.0.0.0', debug=args.debug, share=args.share)
|