kairunwen commited on
Commit
551f29f
·
1 Parent(s): 509f048

update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -6
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>&nbsp;
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>&nbsp;
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
- output_model = gr.Model3D(
226
- label="3D Model (Gaussian)",
227
- # height=300,
228
- interactive=False,
229
- # clear_color=[1.0, 1.0, 1.0, 1.0]
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>&nbsp;
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>&nbsp;
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
+ &nbsp;&nbsp;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")