Yuliang commited on
Commit
ab2bcf9
1 Parent(s): 7cd16c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -5,17 +5,17 @@ import os
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
 
 
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