alexnasa commited on
Commit
f0ccdf1
·
verified ·
1 Parent(s): 852571f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,6 +7,7 @@ import os
7
  # Force Dynamo off at import‐time of torch, pytorch3d, etc.
8
  os.environ["TORCHDYNAMO_DISABLE"] = "1"
9
 
 
10
  import subprocess
11
  import tempfile
12
  import uuid
@@ -272,7 +273,7 @@ with demo:
272
  with gr.Row():
273
  uv_img = gr.Image(label="UV Map", height=256)
274
  track_img = gr.Image(label="Tracking", height=256)
275
- mesh_file = gr.File(label="Download Mesh (.ply)")
276
 
277
  examples = gr.Examples(
278
  examples=["example_images/jim_carrey.png", "example_images/margaret_qualley.png"],
 
7
  # Force Dynamo off at import‐time of torch, pytorch3d, etc.
8
  os.environ["TORCHDYNAMO_DISABLE"] = "1"
9
 
10
+ from gradio_litmodel3d import LitModel3D
11
  import subprocess
12
  import tempfile
13
  import uuid
 
273
  with gr.Row():
274
  uv_img = gr.Image(label="UV Map", height=256)
275
  track_img = gr.Image(label="Tracking", height=256)
276
+ mesh_file = gr.Model3D(label="3D Model Preview")
277
 
278
  examples = gr.Examples(
279
  examples=["example_images/jim_carrey.png", "example_images/margaret_qualley.png"],