JanuaryDesk commited on
Commit
96f4ac9
·
1 Parent(s): 53b535a
Files changed (2) hide show
  1. app.py +6 -3
  2. 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 gradio")
10
- p("mv gradio.zip gradio")
11
- os.chdir("gradio")
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