Drexubery commited on
Commit
2ef47e5
1 Parent(s): 9ecc6da
Files changed (2) hide show
  1. app.py +3 -3
  2. requirements.txt +2 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import sys
4
 
5
  # os.system('pip install iopath')
6
  # os.system("pip install -v -v -v 'git+https://github.com/facebookresearch/pytorch3d.git@stable'")
7
- os.system("cd pytorch3d && pip install -e . && cd ..")
8
  os.system("wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth -P checkpoints/")
9
 
10
 
@@ -109,6 +109,6 @@ if __name__ == "__main__":
109
  opts.device = str(test_tensor.device)
110
  viewcrafter_iface = viewcrafter_demo(opts)
111
  viewcrafter_iface.queue(max_size=10)
112
- # viewcrafter_iface.launch()
113
- viewcrafter_iface.launch(server_name='127.0.0.1', server_port=80, max_threads=1,debug=False)
114
 
 
4
 
5
  # os.system('pip install iopath')
6
  # os.system("pip install -v -v -v 'git+https://github.com/facebookresearch/pytorch3d.git@stable'")
7
+ # os.system("cd pytorch3d && pip install -e . && cd ..")
8
  os.system("wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth -P checkpoints/")
9
 
10
 
 
109
  opts.device = str(test_tensor.device)
110
  viewcrafter_iface = viewcrafter_demo(opts)
111
  viewcrafter_iface.queue(max_size=10)
112
+ viewcrafter_iface.launch()
113
+ # viewcrafter_iface.launch(server_name='127.0.0.1', server_port=80, max_threads=1,debug=False)
114
 
requirements.txt CHANGED
@@ -35,4 +35,5 @@ grpcio==1.66.0
35
  httpx==0.27.0
36
  Pygments==2.18.0
37
  huggingface_hub
38
- spaces
 
 
35
  httpx==0.27.0
36
  Pygments==2.18.0
37
  huggingface_hub
38
+ spaces
39
+ "git+https://github.com/facebookresearch/pytorch3d.git"