Spaces:
Sleeping
Sleeping
bill-jiang
commited on
Commit
·
626d92b
1
Parent(s):
3cd3685
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import os
|
2 |
os.environ['DISPLAY'] = ':0.0'
|
3 |
os.environ['PYOPENGL_PLATFORM'] = 'egl'
|
|
|
4 |
os.system('pip install /home/user/app/pyrender')
|
5 |
os.system('pip install triangle==20220202')
|
6 |
|
|
|
1 |
import os
|
2 |
os.environ['DISPLAY'] = ':0.0'
|
3 |
os.environ['PYOPENGL_PLATFORM'] = 'egl'
|
4 |
+
os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
|
5 |
os.system('pip install /home/user/app/pyrender')
|
6 |
os.system('pip install triangle==20220202')
|
7 |
|