Spaces:
Sleeping
Sleeping
bill-jiang
commited on
Commit
•
30f17d0
1
Parent(s):
4facee4
Fix deps
Browse files- app.py +1 -1
- requirements.txt +2 -2
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 |
-
os.system('pip install pyopengl==3.1.5')
|
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 pyopengl==3.1.5')
|
27 |
|
28 |
# Load model
|
29 |
cfg = parse_args(phase="webui") # parse config file
|
requirements.txt
CHANGED
@@ -18,8 +18,8 @@ numpy==1.23.1
|
|
18 |
|
19 |
# for visualization
|
20 |
gradio==3.43.2
|
21 |
-
|
22 |
-
pyrender
|
23 |
git+https://github.com/mmatl/pyopengl.git
|
24 |
git+https://github.com/mmatl/pyglet.git
|
25 |
PyOpenGL_accelerate
|
|
|
18 |
|
19 |
# for visualization
|
20 |
gradio==3.43.2
|
21 |
+
pyglet
|
22 |
+
pyrender
|
23 |
git+https://github.com/mmatl/pyopengl.git
|
24 |
git+https://github.com/mmatl/pyglet.git
|
25 |
PyOpenGL_accelerate
|