faneggg commited on
Commit
85daf75
·
1 Parent(s): ebdc008

update local demo

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -366,17 +366,18 @@ with demo:
366
  interactive=False,
367
  # camera_position=[0.5, 0.5, 1],
368
  )
369
- feat_image = gr.Image(
370
- label="Feature Visualization",
371
- type="filepath"
372
- )
373
- gr.HTML(
374
  """
375
  <div class="model-description">
376
  &nbsp;&nbsp;Use the left mouse button to rotate, the scroll wheel to zoom, and the right mouse button to move.
377
  </div>
378
  """
379
  )
 
 
 
 
 
380
 
381
  with gr.Row(variant='panel'):
382
  with gr.Tab("Step 2: Readout 3DGS from features & Jointly optimize pose"):
@@ -389,7 +390,7 @@ with demo:
389
  interactive=False,
390
  # camera_position=[0.5, 0.5, 1],
391
  )
392
- gr.HTML(
393
  """
394
  <div class="model-description">
395
  &nbsp;&nbsp;Failed to visualize or got a GPU runtime error? <a href="https://github.com/fanegg/Feat2GS" target="_blank">Run the demo on your local computer!</a>
 
366
  interactive=False,
367
  # camera_position=[0.5, 0.5, 1],
368
  )
369
+ gr.Markdown(
 
 
 
 
370
  """
371
  <div class="model-description">
372
  &nbsp;&nbsp;Use the left mouse button to rotate, the scroll wheel to zoom, and the right mouse button to move.
373
  </div>
374
  """
375
  )
376
+ feat_image = gr.Image(
377
+ label="Feature Visualization",
378
+ type="filepath"
379
+ )
380
+
381
 
382
  with gr.Row(variant='panel'):
383
  with gr.Tab("Step 2: Readout 3DGS from features & Jointly optimize pose"):
 
390
  interactive=False,
391
  # camera_position=[0.5, 0.5, 1],
392
  )
393
+ gr.Markdown(
394
  """
395
  <div class="model-description">
396
  &nbsp;&nbsp;Failed to visualize or got a GPU runtime error? <a href="https://github.com/fanegg/Feat2GS" target="_blank">Run the demo on your local computer!</a>