Spaces:
Starting
on
L40S
Starting
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import requests
|
|
13 |
# Ensure the required package is installed
|
14 |
def install_dependencies():
|
15 |
try:
|
16 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", "git+https://github.com/facebookresearch/pytorch3d.git@
|
17 |
except subprocess.CalledProcessError as e:
|
18 |
print(f"Error installing dependencies: {e}")
|
19 |
sys.exit(1) # Exit the script if installation fails
|
|
|
13 |
# Ensure the required package is installed
|
14 |
def install_dependencies():
|
15 |
try:
|
16 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "git+https://github.com/facebookresearch/pytorch3d.git@stable"])
|
17 |
except subprocess.CalledProcessError as e:
|
18 |
print(f"Error installing dependencies: {e}")
|
19 |
sys.exit(1) # Exit the script if installation fails
|