Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,17 +5,17 @@ import os
|
|
5 |
|
6 |
import subprocess
|
7 |
|
8 |
-
if os.getenv('SYSTEM') == 'spaces':
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
|
20 |
from apps.infer import generate_model, generate_video
|
21 |
|
|
|
5 |
|
6 |
import subprocess
|
7 |
|
8 |
+
# if os.getenv('SYSTEM') == 'spaces':
|
9 |
+
# # subprocess.run('pip install pyembree'.split())
|
10 |
+
# try:
|
11 |
+
# import pytorch3d
|
12 |
+
# except ImportError:
|
13 |
+
# subprocess.run(
|
14 |
+
# 'pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu116_pyt1130/download.html'
|
15 |
+
# .split()
|
16 |
+
# )
|
17 |
+
# subprocess.run("python setup.py build_ext --inplace".split(), cwd="./lib/common/libmesh/")
|
18 |
+
# subprocess.run("python setup.py build_ext --inplace".split(), cwd="./lib/common/libvoxelize/")
|
19 |
|
20 |
from apps.infer import generate_model, generate_video
|
21 |
|