Jingkang Yang commited on
Commit
4855376
1 Parent(s): 6759c97

update: app

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -212,10 +212,12 @@ def greet_scannet(rgb_input, depth_map_input, class_candidates):
212
 
213
 
214
  with gr.Blocks(analytics_enabled=False) as segrgbd_iface:
215
- gr.Markdown("<div align='center'> <h2> Segment Any RGBD </span> </h2> \
216
- <a style='font-size:18px;color: #000000' href='https://github.com/Jun-CEN/SegmentAnyRGBD'> Github </div>")
217
-
218
- gr.Markdown("<b> Note that you need a GPU for this project. You may duplicate the space and upgrade to GPU in settings for better performance and faster inference without waiting in the queue. <a style='display:inline-block' href='https://huggingface.co/spaces/jcenaa/Semantic_Segment_AnyRGBD?duplicate=true'> <img src='https://bit.ly/3gLdBN6' alt='Duplicate Space'></a> </b>")
 
 
219
  #######t2v#######
220
  with gr.Tab(label="Dataset: Sailvos3D"):
221
  with gr.Column():
 
212
 
213
 
214
  with gr.Blocks(analytics_enabled=False) as segrgbd_iface:
215
+ SHARED_UI_WARNING = f'''### [NOTE] It may be very slow in this shared UI.
216
+ You can duplicate and use it with a paid private GPU.
217
+ <a class="duplicate-button" style="display:inline-block" target="_blank" href="https://huggingface.co/spaces/mmlab-ntu/Segment-Any-RGBD?duplicate=true"><img style="margin-top:0;margin-bottom:0" src="https://huggingface.co/datasets/huggingface/badges/raw/main/duplicate-this-space-xl-dark.svg" alt="Duplicate Space"></a>
218
+ Alternatively, you can also use the Colab demo on our project page.
219
+ <a style="display:inline-block" href="https://github.com/Jun-CEN/SegmentAnyRGBD/"><img style="margin-top:0;margin-bottom:0" src="https://img.shields.io/badge/Project%20Page-online-brightgreen"></a>
220
+ '''
221
  #######t2v#######
222
  with gr.Tab(label="Dataset: Sailvos3D"):
223
  with gr.Column():