Spaces:
Runtime error
Runtime error
bguberfain
commited on
Commit
•
cc875bf
1
Parent(s):
b15265b
Update app.py
Browse filesTrying to fix error "ImportError: libGL.so.1: cannot open shared object file: No such file or directory"
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
# Based on https://huggingface.co/spaces/akhaliq/Detic/tree/main Thanks!
|
2 |
import os
|
|
|
|
|
3 |
os.system("pip install gradio==2.4.6")
|
4 |
import sys
|
5 |
import gradio as gr
|
|
|
1 |
# Based on https://huggingface.co/spaces/akhaliq/Detic/tree/main Thanks!
|
2 |
import os
|
3 |
+
os.system("apt-get update && apt-get install libgl1")
|
4 |
+
|
5 |
os.system("pip install gradio==2.4.6")
|
6 |
import sys
|
7 |
import gradio as gr
|