bill-jiang commited on
Commit
824e11d
β€’
1 Parent(s): 80672bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import os
2
-
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 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