Spaces:
Runtime error
Runtime error
Commit
·
64a5906
1
Parent(s):
0f7520c
Update app.py
Browse files
app.py
CHANGED
@@ -106,10 +106,11 @@ with gr.Blocks(css=css) as demo:
|
|
106 |
celsci = gr.Textbox(label="c") #, lines=10, placeholder="Do you have any feedback on gradio?")
|
107 |
submit = gr.Button(value=".")
|
108 |
#submit2 = gr.Button(value="Run Code")
|
|
|
109 |
if (celsci=="Celscis List"):
|
110 |
-
submit.click(ccogsphere, [name, rate,
|
111 |
else:
|
112 |
-
submit.click(ccogsphere, [name, rate,
|
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()")
|
|
|
106 |
celsci = gr.Textbox(label="c") #, lines=10, placeholder="Do you have any feedback on gradio?")
|
107 |
submit = gr.Button(value=".")
|
108 |
#submit2 = gr.Button(value="Run Code")
|
109 |
+
score1=run_actr()
|
110 |
if (celsci=="Celscis List"):
|
111 |
+
submit.click(ccogsphere, [name, rate, score1], [data, count])
|
112 |
else:
|
113 |
+
submit.click(ccogsphere, [name, rate, score1], [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()")
|