Spaces:
Runtime error
Runtime error
fengxiang
commited on
Commit
·
c3f36f2
1
Parent(s):
d6b7429
fix
Browse files
app.py
CHANGED
@@ -762,14 +762,6 @@ if __name__ == "__main__":
|
|
762 |
|
763 |
mask_source_radio.change(fn=change_radio_display, inputs=[task_type, mask_source_radio], outputs=[text_prompt, inpaint_prompt, mask_source_radio, num_relation])
|
764 |
task_type.change(fn=change_radio_display, inputs=[task_type, mask_source_radio], outputs=[text_prompt, inpaint_prompt, mask_source_radio, num_relation])
|
765 |
-
|
766 |
-
DESCRIPTION = f'### This demo from [Grounded-Segment-Anything](https://github.com/IDEA-Research/Grounded-Segment-Anything). <br>'
|
767 |
-
DESCRIPTION += f'RAM from [RelateAnything](https://github.com/Luodian/RelateAnything). <br>'
|
768 |
-
DESCRIPTION += f'Remove(cleaner) from [lama-cleaner](https://github.com/Sanster/lama-cleaner). <br>'
|
769 |
-
DESCRIPTION += f'Thanks for their excellent work.'
|
770 |
-
DESCRIPTION += f'<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. \
|
771 |
-
<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>'
|
772 |
-
gr.Markdown(DESCRIPTION)
|
773 |
-
|
774 |
computer_info()
|
775 |
block.launch(server_name='0.0.0.0', debug=args.debug, share=args.share)
|
|
|
762 |
|
763 |
mask_source_radio.change(fn=change_radio_display, inputs=[task_type, mask_source_radio], outputs=[text_prompt, inpaint_prompt, mask_source_radio, num_relation])
|
764 |
task_type.change(fn=change_radio_display, inputs=[task_type, mask_source_radio], outputs=[text_prompt, inpaint_prompt, mask_source_radio, num_relation])
|
765 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
766 |
computer_info()
|
767 |
block.launch(server_name='0.0.0.0', debug=args.debug, share=args.share)
|