Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
CHANGED
|
@@ -190,6 +190,9 @@ _DESCRIPTION = '''
|
|
| 190 |
<a style="display:inline-block" href="https://instantsplat.github.io/"><img src='https://img.shields.io/badge/Project_Page-1c7d45?logo=gumtree'></a>
|
| 191 |
<a style="display:inline-block" href="https://www.youtube.com/watch?v=fxf_ypd7eD8"><img src='https://img.shields.io/badge/Demo_Video-E33122?logo=Youtube'></a>
|
| 192 |
<a style="display:inline-block" href="https://arxiv.org/abs/2403.20309"><img src="https://img.shields.io/badge/ArXiv-2403.20309-b31b1b?logo=arxiv" alt='arxiv'></a>
|
|
|
|
|
|
|
|
|
|
| 193 |
</div>
|
| 194 |
<p></p>
|
| 195 |
|
|
@@ -222,12 +225,19 @@ with block:
|
|
| 222 |
with gr.Row(variant='panel'):
|
| 223 |
with gr.Tab("Output"):
|
| 224 |
with gr.Column(scale=2):
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
output_file = gr.File(label="ply")
|
| 232 |
with gr.Column(scale=1):
|
| 233 |
output_video = gr.Video(label="video")
|
|
|
|
| 190 |
<a style="display:inline-block" href="https://instantsplat.github.io/"><img src='https://img.shields.io/badge/Project_Page-1c7d45?logo=gumtree'></a>
|
| 191 |
<a style="display:inline-block" href="https://www.youtube.com/watch?v=fxf_ypd7eD8"><img src='https://img.shields.io/badge/Demo_Video-E33122?logo=Youtube'></a>
|
| 192 |
<a style="display:inline-block" href="https://arxiv.org/abs/2403.20309"><img src="https://img.shields.io/badge/ArXiv-2403.20309-b31b1b?logo=arxiv" alt='arxiv'></a>
|
| 193 |
+
<a title="Social" href="https://x.com/KairunWen" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
| 194 |
+
<img src="https://www.obukhov.ai/img/badges/badge-social.svg" alt="social">
|
| 195 |
+
</a>
|
| 196 |
</div>
|
| 197 |
<p></p>
|
| 198 |
|
|
|
|
| 225 |
with gr.Row(variant='panel'):
|
| 226 |
with gr.Tab("Output"):
|
| 227 |
with gr.Column(scale=2):
|
| 228 |
+
with gr.Group():
|
| 229 |
+
output_model = gr.Model3D(
|
| 230 |
+
label="3D Dense Model under Gaussian Splats Formats, need more time to visualize",
|
| 231 |
+
interactive=False,
|
| 232 |
+
camera_position=[0.5, 0.5, 1], # 稍微偏移一点,以便更好地查看模型
|
| 233 |
+
)
|
| 234 |
+
gr.Markdown(
|
| 235 |
+
"""
|
| 236 |
+
<div class="model-description">
|
| 237 |
+
Use the left mouse button to rotate, the scroll wheel to zoom, and the right mouse button to move.
|
| 238 |
+
</div>
|
| 239 |
+
"""
|
| 240 |
+
)
|
| 241 |
output_file = gr.File(label="ply")
|
| 242 |
with gr.Column(scale=1):
|
| 243 |
output_video = gr.Video(label="video")
|