Spaces:
Runtime error
Runtime error
JanuaryDesk
commited on
Commit
·
96f4ac9
1
Parent(s):
53b535a
test
Browse files- app.py +6 -3
- requirements.txt +1 -1
app.py
CHANGED
@@ -6,9 +6,9 @@ def p(command):
|
|
6 |
print("EXEC: " + command)
|
7 |
os.system(command)
|
8 |
|
9 |
-
p("mkdir
|
10 |
-
p("mv gradio.zip
|
11 |
-
os.chdir("
|
12 |
|
13 |
from zipfile import ZipFile
|
14 |
|
@@ -33,6 +33,9 @@ os.chdir("..")
|
|
33 |
# os.system("pip install git+https://github.com/yiyuezhuo/gradio@cmo_pinned")
|
34 |
|
35 |
import gradio as gr
|
|
|
|
|
|
|
36 |
from cmo_db_inspector import App
|
37 |
from pathlib import Path
|
38 |
|
|
|
6 |
print("EXEC: " + command)
|
7 |
os.system(command)
|
8 |
|
9 |
+
p("mkdir _gradio")
|
10 |
+
p("mv gradio.zip _gradio")
|
11 |
+
os.chdir("_gradio")
|
12 |
|
13 |
from zipfile import ZipFile
|
14 |
|
|
|
33 |
# os.system("pip install git+https://github.com/yiyuezhuo/gradio@cmo_pinned")
|
34 |
|
35 |
import gradio as gr
|
36 |
+
|
37 |
+
print(dir(gr))
|
38 |
+
|
39 |
from cmo_db_inspector import App
|
40 |
from pathlib import Path
|
41 |
|
requirements.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
gradio @ git+https://github.com/yiyuezhuo/gradio@cmo_pinned
|
2 |
plotly
|
3 |
cmo_db_inspector @ git+https://github.com/yiyuezhuo/cmo_db_inspector.git
|
|
|
1 |
+
# gradio @ git+https://github.com/yiyuezhuo/gradio@cmo_pinned
|
2 |
plotly
|
3 |
cmo_db_inspector @ git+https://github.com/yiyuezhuo/cmo_db_inspector.git
|