Spaces:
Runtime error
Runtime error
Commit
·
d90e78b
1
Parent(s):
64a5906
Update app.py
Browse files
app.py
CHANGED
@@ -108,9 +108,9 @@ with gr.Blocks(css=css) as demo:
|
|
108 |
#submit2 = gr.Button(value="Run Code")
|
109 |
score1=run_actr()
|
110 |
if (celsci=="Celscis List"):
|
111 |
-
submit.click(ccogsphere, [name, rate,
|
112 |
else:
|
113 |
-
submit.click(ccogsphere, [name, rate,
|
114 |
demo.load(load_data, None, [data, count])
|
115 |
#@name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
|
116 |
#@rate.change(inputs=rate, outputs=name,_js="window.location.reload()")
|
|
|
108 |
#submit2 = gr.Button(value="Run Code")
|
109 |
score1=run_actr()
|
110 |
if (celsci=="Celscis List"):
|
111 |
+
submit.click(ccogsphere, [name, rate, celsci], [data, count])
|
112 |
else:
|
113 |
+
submit.click(ccogsphere, [name, rate, celsci], [data, count])
|
114 |
demo.load(load_data, None, [data, count])
|
115 |
#@name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
|
116 |
#@rate.change(inputs=rate, outputs=name,_js="window.location.reload()")
|