Spaces:
Runtime error
Runtime error
Commit
·
0f445e9
1
Parent(s):
fd91ab0
Update
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
import os
|
4 |
-
os.environ["PYOPENGL_PLATFORM"] = "
|
5 |
from OpenGL import EGL
|
6 |
print(os.environ['PYOPENGL_PLATFORM'])
|
7 |
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
import os
|
4 |
+
os.environ["PYOPENGL_PLATFORM"] = "egl" #opengl seems to only work with TPU
|
5 |
from OpenGL import EGL
|
6 |
print(os.environ['PYOPENGL_PLATFORM'])
|
7 |
|