Spaces:
Build error
Build error
feifeifeiliu
commited on
Commit
•
ca44e4d
1
Parent(s):
b95187e
Upload 2 files
Browse files- app.py +1 -1
- requirements.txt +0 -1
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import os
|
3 |
import sys
|
4 |
# import OpenGL.GL as gl
|
5 |
-
os.environ["PYOPENGL_PLATFORM"] = "
|
6 |
os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
|
7 |
os.system('pip install /home/user/app/pyrender')
|
8 |
|
|
|
2 |
import os
|
3 |
import sys
|
4 |
# import OpenGL.GL as gl
|
5 |
+
os.environ["PYOPENGL_PLATFORM"] = "egl"
|
6 |
os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
|
7 |
os.system('pip install /home/user/app/pyrender')
|
8 |
|
requirements.txt
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
osmesa
|
2 |
numpy
|
3 |
smplx
|
4 |
shapely
|
|
|
|
|
1 |
numpy
|
2 |
smplx
|
3 |
shapely
|