Spaces:
Running
Running
insanecoder69
commited on
Update app.py
Browse files
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 |
|