CognitiveScience commited on
Commit
2b5f248
·
1 Parent(s): e89b97c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -19
app.py CHANGED
@@ -154,25 +154,6 @@ with gr.Blocks() as demo:
154
  with gr.Column():
155
  data2 = gr.Dataframe() #styler)
156
  count2 = gr.Number(label="Rates2!",value=13)
157
- with gr.Row():
158
- with gr.Column():
159
- celscie = gr.Textbox(label="e",value="robert+west") #, placeholder="What is your name?")
160
-
161
- #result=run_ecs(celscie)
162
- #df = pd.DataFrame.from_dict(result["videos"])
163
-
164
- #gr.Dataframe(df)
165
-
166
- celsci2 = gr.Textbox(label="c2") #, lines=10, placeholder="Do you have any feedback on gradio?")
167
- #run_actr()
168
- submit2 = gr.Button(value="E")
169
- submit2.click(run_ecs, [celsci2], [data2])
170
- #demo.load(load_data2, None, [data2])
171
-
172
- with gr.Row():
173
- with gr.Column():
174
- data = gr.Dataframe() #styler)
175
- count = gr.Number(label="Rates!")
176
  with gr.Row():
177
  with gr.Column():
178
  name = gr.Textbox(label="a") #, placeholder="What is your name?")
@@ -191,6 +172,24 @@ with gr.Blocks() as demo:
191
  #run_code()
192
  load_data()
193
  #return "Hello " + name + "!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  def backup_db():
195
  shutil.copyfile(DB_FILE, "./reviews1E.db")
196
  db = sqlite3.connect(DB_FILE)
 
154
  with gr.Column():
155
  data2 = gr.Dataframe() #styler)
156
  count2 = gr.Number(label="Rates2!",value=13)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  with gr.Row():
158
  with gr.Column():
159
  name = gr.Textbox(label="a") #, placeholder="What is your name?")
 
172
  #run_code()
173
  load_data()
174
  #return "Hello " + name + "!"
175
+ with gr.Row():
176
+ with gr.Column():
177
+ data = gr.Dataframe() #styler)
178
+ count = gr.Number(label="Rates!")
179
+ with gr.Row():
180
+ with gr.Column():
181
+ celscie = gr.Textbox(label="e",value="robert+west") #, placeholder="What is your name?")
182
+
183
+ #result=run_ecs(celscie)
184
+ #df = pd.DataFrame.from_dict(result["videos"])
185
+
186
+ #gr.Dataframe(df)
187
+
188
+ celsci2 = gr.Textbox(label="c2") #, lines=10, placeholder="Do you have any feedback on gradio?")
189
+ #run_actr()
190
+ submit2 = gr.Button(value="E")
191
+ submit2.click(run_ecs, [celsci2], [data2])
192
+ #demo.load(load_data2, None, [data2])
193
  def backup_db():
194
  shutil.copyfile(DB_FILE, "./reviews1E.db")
195
  db = sqlite3.connect(DB_FILE)