Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,9 @@ from pydub import AudioSegment
|
|
5 |
import tempfile
|
6 |
|
7 |
# Set OpenGL platform
|
8 |
-
os.environ["PYOPENGL_PLATFORM"] = "
|
|
|
|
|
9 |
|
10 |
# Paths to TalkShow demo script and configuration
|
11 |
DEMO_SCRIPT_PATH = "scripts/demo.py"
|
|
|
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 |
|
12 |
# Paths to TalkShow demo script and configuration
|
13 |
DEMO_SCRIPT_PATH = "scripts/demo.py"
|