CognitiveScience commited on
Commit
e832f46
·
1 Parent(s): 1278d1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -107,9 +107,9 @@ with gr.Blocks(css=css) as demo:
107
  submit = gr.Button(value=".")
108
  #submit2 = gr.Button(value="Run Code")
109
  if (celsci=="Celscis List"):
110
- submit.click(ccogsphere, [name, rate, run_actr, [data, count])
111
  else:
112
- submit.click(ccogsphere, [name, rate, celsci, [data, count])
113
  demo.load(load_data, None, [data, count])
114
  #@name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
115
  #@rate.change(inputs=rate, outputs=name,_js="window.location.reload()")
 
107
  submit = gr.Button(value=".")
108
  #submit2 = gr.Button(value="Run Code")
109
  if (celsci=="Celscis List"):
110
+ submit.click(ccogsphere, [name, rate, run_actr], [data, count])
111
  else:
112
+ submit.click(ccogsphere, [name, rate, celsci], [data, count])
113
  demo.load(load_data, None, [data, count])
114
  #@name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
115
  #@rate.change(inputs=rate, outputs=name,_js="window.location.reload()")