Spaces:
Runtime error
Runtime error
neverix
commited on
Commit
·
7b9ea01
1
Parent(s):
7616518
Modern PyOpenGL, last attempt
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def render(mesh, mat):
|
|
109 |
|
110 |
|
111 |
def main():
|
112 |
-
|
113 |
|
114 |
midas = MidasDepth()
|
115 |
def fn(pic, *args):
|
|
|
109 |
|
110 |
|
111 |
def main():
|
112 |
+
os.environ["PYOPENGL_PLATFORM"] = "egl" # "osmesa"
|
113 |
|
114 |
midas = MidasDepth()
|
115 |
def fn(pic, *args):
|