Spaces:
Runtime error
Runtime error
Jingkang Yang
commited on
Commit
•
6328d06
1
Parent(s):
9a023ed
update: app
Browse files
app.py
CHANGED
@@ -213,11 +213,13 @@ def greet_scannet(rgb_input, depth_map_input, class_candidates):
|
|
213 |
SHARED_UI_WARNING = f'''### [NOTE] It may be very slow in this shared UI.
|
214 |
You can duplicate and use it with a paid private GPU.
|
215 |
<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>
|
216 |
-
Alternatively, you can also use the
|
217 |
<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>
|
218 |
'''
|
219 |
|
220 |
with gr.Blocks(analytics_enabled=False) as segrgbd_iface:
|
|
|
|
|
221 |
#######t2v#######
|
222 |
with gr.Tab(label="Dataset: Sailvos3D"):
|
223 |
with gr.Column():
|
|
|
213 |
SHARED_UI_WARNING = f'''### [NOTE] It may be very slow in this shared UI.
|
214 |
You can duplicate and use it with a paid private GPU.
|
215 |
<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>
|
216 |
+
Alternatively, you can also use the demo on your own computer.
|
217 |
<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>
|
218 |
'''
|
219 |
|
220 |
with gr.Blocks(analytics_enabled=False) as segrgbd_iface:
|
221 |
+
with gr.Box():
|
222 |
+
gr.Markdown(SHARED_UI_WARNING)
|
223 |
#######t2v#######
|
224 |
with gr.Tab(label="Dataset: Sailvos3D"):
|
225 |
with gr.Column():
|