Spaces:
Runtime error
Runtime error
JanuaryDesk
commited on
Commit
•
9131367
1
Parent(s):
bfaa837
try to set Gradio version using workaround
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from cmo_db_inspector import App
|
3 |
from pathlib import Path
|
|
|
1 |
+
|
2 |
+
# https://discuss.huggingface.co/t/how-to-install-a-specific-version-of-gradio-in-spaces/13552
|
3 |
+
import os
|
4 |
+
os.system("pip uninstall -y gradio")
|
5 |
+
os.system("pip install git+https://github.com/yiyuezhuo/gradio@cmo_pinned")
|
6 |
+
|
7 |
import gradio as gr
|
8 |
from cmo_db_inspector import App
|
9 |
from pathlib import Path
|