Huiwenshi commited on
Commit
d83e23a
·
verified ·
1 Parent(s): fc7649b

Update app_hg.py

Browse files
Files changed (1) hide show
  1. app_hg.py +2 -1
app_hg.py CHANGED
@@ -58,6 +58,7 @@ def install_cuda_toolkit():
58
 
59
  def install_requirements():
60
  subprocess.check_call([sys.executable, "-m", "pip", "install", "git+https://github.com/NVlabs/nvdiffrast"])
 
61
  # subprocess.check_call([sys.executable, "-m", "pip", "install", "git+https://github.com/facebookresearch/pytorch3d@stable"])
62
  subprocess.check_call([sys.executable, "-m", "pip", "install", "git+https://github.com/facebookresearch/[email protected]"])
63
 
@@ -93,7 +94,7 @@ def download_models():
93
  except Exception as e:
94
  print(f"Error downloading DUSt3R: {e}")
95
 
96
- install_cuda_toolkit()
97
  install_requirements()
98
  download_models() ### download weights !!!!
99
 
 
58
 
59
  def install_requirements():
60
  subprocess.check_call([sys.executable, "-m", "pip", "install", "git+https://github.com/NVlabs/nvdiffrast"])
61
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "--upgrade", "setuptools", "wheel"])
62
  # subprocess.check_call([sys.executable, "-m", "pip", "install", "git+https://github.com/facebookresearch/pytorch3d@stable"])
63
  subprocess.check_call([sys.executable, "-m", "pip", "install", "git+https://github.com/facebookresearch/[email protected]"])
64
 
 
94
  except Exception as e:
95
  print(f"Error downloading DUSt3R: {e}")
96
 
97
+ # install_cuda_toolkit()
98
  install_requirements()
99
  download_models() ### download weights !!!!
100