Spaces:
Sleeping
Sleeping
bill-jiang
commited on
Commit
•
824e11d
1
Parent(s):
80672bd
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import os
|
2 |
-
|
3 |
-
os.environ[
|
4 |
-
os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
|
5 |
os.system('pip install /home/user/app/pyrender')
|
6 |
os.system('pip install eventlet')
|
|
|
7 |
|
8 |
import gradio as gr
|
9 |
import random
|
|
|
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 eventlet')
|
6 |
+
os.system('pip install triangle==20220202')
|
7 |
|
8 |
import gradio as gr
|
9 |
import random
|