Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
f8536a9
1
Parent(s):
a1904cb
Update app.py
Browse files
app.py
CHANGED
@@ -191,8 +191,8 @@ with gr.Blocks(css=css) as demo:
|
|
191 |
submit = gr.Button(value=".")
|
192 |
submit.click(ccogsphere, [name, rate, celsci], [data, count])
|
193 |
demo.load(get_latest_reviews, celsci, [data, count])
|
194 |
-
|
195 |
-
|
196 |
#@celsci.change(inputs=celsci, outputs=rate,_js="window.location.reload()")
|
197 |
|
198 |
#def secwork(celsci):
|
@@ -200,4 +200,4 @@ with gr.Blocks(css=css) as demo:
|
|
200 |
#run_code()
|
201 |
#demo.load(get_latest_reviews, celsci, [data, count])
|
202 |
#return "Hello " + name + "!"
|
203 |
-
|
|
|
191 |
submit = gr.Button(value=".")
|
192 |
submit.click(ccogsphere, [name, rate, celsci], [data, count])
|
193 |
demo.load(get_latest_reviews, celsci, [data, count])
|
194 |
+
#@name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
|
195 |
+
#@rate.change(inputs=rate, outputs=name,_js="window.location.reload()")
|
196 |
#@celsci.change(inputs=celsci, outputs=rate,_js="window.location.reload()")
|
197 |
|
198 |
#def secwork(celsci):
|
|
|
200 |
#run_code()
|
201 |
#demo.load(get_latest_reviews, celsci, [data, count])
|
202 |
#return "Hello " + name + "!"
|
203 |
+
demo.launch()
|