Spaces:
Sleeping
Sleeping
SceneDiffuser
commited on
Commit
•
2b122fc
1
Parent(s):
db3ebec
Update
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
|
|
3 |
import os
|
4 |
os.environ["PYOPENGL_PLATFORM"] = "osmesa" #opengl seems to only work with TPU
|
5 |
print(os.environ['PYOPENGL_PLATFORM'])
|
|
|
6 |
|
7 |
import numpy as np
|
8 |
import os
|
|
|
3 |
import os
|
4 |
os.environ["PYOPENGL_PLATFORM"] = "osmesa" #opengl seems to only work with TPU
|
5 |
print(os.environ['PYOPENGL_PLATFORM'])
|
6 |
+
from OpenGL.osmesa import OSMesaCreateContextAttribs
|
7 |
|
8 |
import numpy as np
|
9 |
import os
|