SceneDiffuser commited on
Commit
2b122fc
1 Parent(s): db3ebec
Files changed (1) hide show
  1. app.py +1 -0
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