Spaces:
Runtime error
Runtime error
Commit
·
17ebf04
1
Parent(s):
6d26025
Update app.py
Browse files
app.py
CHANGED
@@ -172,9 +172,9 @@ with gr.Blocks() as demo:
|
|
172 |
submit2 = gr.Button(value=".")
|
173 |
submit2.click(ccogsphere2, [name2, rate2, celsci2], [data2, count2])
|
174 |
demo.load(load_data2, None, [data2, count2])
|
175 |
-
@
|
176 |
-
@
|
177 |
-
@
|
178 |
|
179 |
def secwork2(name2):
|
180 |
#if name=="abc":
|
|
|
172 |
submit2 = gr.Button(value=".")
|
173 |
submit2.click(ccogsphere2, [name2, rate2, celsci2], [data2, count2])
|
174 |
demo.load(load_data2, None, [data2, count2])
|
175 |
+
@name2.change(inputs=name2, outputs=celsci2,_js="window.location.reload()")
|
176 |
+
@rate2.change(inputs=rate2, outputs=name2,_js="window.location.reload()")
|
177 |
+
@celsci2.change(inputs=celsci2, outputs2=rate2,_js="window.location.reload()")
|
178 |
|
179 |
def secwork2(name2):
|
180 |
#if name=="abc":
|