Spaces:
Sleeping
Sleeping
bill-jiang
commited on
Commit
·
8397478
1
Parent(s):
0f4f8a4
Update deps
Browse files- app.py +1 -1
- requirements.txt +1 -4
app.py
CHANGED
@@ -23,7 +23,7 @@ from huggingface_hub import snapshot_download
|
|
23 |
|
24 |
os.environ["PYOPENGL_PLATFORM"] = "egl"
|
25 |
os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
|
26 |
-
|
27 |
|
28 |
# Load model
|
29 |
cfg = parse_args(phase="webui") # parse config file
|
|
|
23 |
|
24 |
os.environ["PYOPENGL_PLATFORM"] = "egl"
|
25 |
os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
|
26 |
+
os.system('pip install git+https://github.com/mmatl/pyopengl.git git+https://github.com/mmatl/pyglet.git PyOpenGL_accelerate')
|
27 |
|
28 |
# Load model
|
29 |
cfg = parse_args(phase="webui") # parse config file
|
requirements.txt
CHANGED
@@ -18,10 +18,7 @@ numpy==1.23.1
|
|
18 |
|
19 |
# for visualization
|
20 |
gradio==3.43.2
|
21 |
-
|
22 |
-
git+https://github.com/mmatl/pyopengl.git
|
23 |
-
git+https://github.com/mmatl/pyglet.git
|
24 |
-
PyOpenGL_accelerate
|
25 |
smplx==0.1.28
|
26 |
trimesh==3.9.24
|
27 |
joblib==1.2.0
|
|
|
18 |
|
19 |
# for visualization
|
20 |
gradio==3.43.2
|
21 |
+
pyrender
|
|
|
|
|
|
|
22 |
smplx==0.1.28
|
23 |
trimesh==3.9.24
|
24 |
joblib==1.2.0
|