Daniellesry commited on
Commit
4880d13
·
1 Parent(s): 660d02c
Files changed (2) hide show
  1. app.py +5 -5
  2. requirements.txt +0 -1
app.py CHANGED
@@ -53,7 +53,7 @@ except Exception:
53
  import cv2
54
  import copy
55
  import trimesh
56
- from gradio_litmodel3d import LitModel3D
57
  from os.path import join
58
  from tools.depth2pcd import depth2pcd
59
  from moge.model.v2 import MoGeModel
@@ -587,7 +587,7 @@ with gr.Blocks(css=css, title="DKT", head=head_html) as demo:
587
 
588
  with gr.Row(equal_height=True):
589
  with gr.Column(scale=1):
590
- output_point_map0 = LitModel3D(
591
  label="Point Cloud Key Frame 1",
592
  clear_color=[1.0, 1.0, 1.0, 1.0],
593
  interactive=False,
@@ -595,7 +595,7 @@ with gr.Blocks(css=css, title="DKT", head=head_html) as demo:
595
 
596
  )
597
  with gr.Column(scale=1):
598
- output_point_map1 = LitModel3D(
599
  label="Point Cloud Key Frame 2",
600
  clear_color=[1.0, 1.0, 1.0, 1.0],
601
  interactive=False
@@ -605,13 +605,13 @@ with gr.Blocks(css=css, title="DKT", head=head_html) as demo:
605
  with gr.Row(equal_height=True):
606
 
607
  with gr.Column(scale=1):
608
- output_point_map2 = LitModel3D(
609
  label="Point Cloud Key Frame 3",
610
  clear_color=[1.0, 1.0, 1.0, 1.0],
611
  interactive=False
612
  )
613
  with gr.Column(scale=1):
614
- output_point_map3 = LitModel3D(
615
  label="Point Cloud Key Frame 4",
616
  clear_color=[1.0, 1.0, 1.0, 1.0],
617
  interactive=False
 
53
  import cv2
54
  import copy
55
  import trimesh
56
+ from gradio_Model3D import Model3D
57
  from os.path import join
58
  from tools.depth2pcd import depth2pcd
59
  from moge.model.v2 import MoGeModel
 
587
 
588
  with gr.Row(equal_height=True):
589
  with gr.Column(scale=1):
590
+ output_point_map0 = Model3D(
591
  label="Point Cloud Key Frame 1",
592
  clear_color=[1.0, 1.0, 1.0, 1.0],
593
  interactive=False,
 
595
 
596
  )
597
  with gr.Column(scale=1):
598
+ output_point_map1 = Model3D(
599
  label="Point Cloud Key Frame 2",
600
  clear_color=[1.0, 1.0, 1.0, 1.0],
601
  interactive=False
 
605
  with gr.Row(equal_height=True):
606
 
607
  with gr.Column(scale=1):
608
+ output_point_map2 = Model3D(
609
  label="Point Cloud Key Frame 3",
610
  clear_color=[1.0, 1.0, 1.0, 1.0],
611
  interactive=False
612
  )
613
  with gr.Column(scale=1):
614
+ output_point_map3 = Model3D(
615
  label="Point Cloud Key Frame 4",
616
  clear_color=[1.0, 1.0, 1.0, 1.0],
617
  interactive=False
requirements.txt CHANGED
@@ -11,7 +11,6 @@ accelerate
11
  loguru
12
  sentencepiece
13
  spaces
14
- gradio_litmodel3d
15
  open3d
16
 
17
  git+https://github.com/microsoft/MoGe.git -i https://pypi.org/simple/ --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org
 
11
  loguru
12
  sentencepiece
13
  spaces
 
14
  open3d
15
 
16
  git+https://github.com/microsoft/MoGe.git -i https://pypi.org/simple/ --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org