insanecoder69 commited on
Commit
ada898d
·
verified ·
1 Parent(s): 25cc85f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ from pydub import AudioSegment
5
  import tempfile
6
 
7
  # Set OpenGL platform
8
- os.environ["PYOPENGL_PLATFORM"] = "egl"
 
9
  os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
10
  os.system('pip install /home/user/app/pyrender')
11
 
 
5
  import tempfile
6
 
7
  # Set OpenGL platform
8
+ # os.environ["PYOPENGL_PLATFORM"] = "egl"
9
+ os.environ['PYOPENGL_PLATFORM'] = 'glfw'
10
  os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
11
  os.system('pip install /home/user/app/pyrender')
12