Spaces:
Runtime error
Runtime error
Commit
·
44f3d80
1
Parent(s):
2258a01
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ 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
|
110 |
submit.click(ccogsphere, [name, rate, run_actr, [data, count])
|
111 |
else:
|
112 |
submit.click(ccogsphere, [name, rate, celsci], [data, count])
|
|
|
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, run_actr, [data, count])
|
111 |
else:
|
112 |
submit.click(ccogsphere, [name, rate, celsci], [data, count])
|