Update app.py
Browse files
app.py
CHANGED
@@ -82,13 +82,14 @@ def ac():
|
|
82 |
t_switch=gr.Textbox(value=0)
|
83 |
fac_b = gr.Textbox(value="",visible=False)
|
84 |
|
85 |
-
|
86 |
-
|
87 |
-
b5=out3.change(im_fn,[put,fac_b,h],[out4,fac_b])
|
88 |
b1=btn1.click(start,None,[t_state,t_switch])
|
89 |
sta = t_state.change(end,t_state,t_switch,every=1)
|
90 |
b2=btn1.click(im_fn,[put,fac_b,h],[out1,fac_b])
|
91 |
-
|
|
|
|
|
92 |
t_switch.change(clear,t_switch,t_switch, cancels=[sta,b1,b2,b3,b4,b5])
|
93 |
|
94 |
b.queue(concurrency_count=100).launch(show_api=False)
|
|
|
82 |
t_switch=gr.Textbox(value=0)
|
83 |
fac_b = gr.Textbox(value="",visible=False)
|
84 |
|
85 |
+
b0=btn1.click(cl_fac,None,[fac_b,out1,out2,out3,out4],show_progress=False)
|
86 |
+
|
|
|
87 |
b1=btn1.click(start,None,[t_state,t_switch])
|
88 |
sta = t_state.change(end,t_state,t_switch,every=1)
|
89 |
b2=btn1.click(im_fn,[put,fac_b,h],[out1,fac_b])
|
90 |
+
b3=out1.change(im_fn,[put,fac_b,h],[out2,fac_b])
|
91 |
+
b4=out2.change(im_fn,[put,fac_b,h],[out3,fac_b])
|
92 |
+
b5=out3.change(im_fn,[put,fac_b,h],[out4,fac_b])
|
93 |
t_switch.change(clear,t_switch,t_switch, cancels=[sta,b1,b2,b3,b4,b5])
|
94 |
|
95 |
b.queue(concurrency_count=100).launch(show_api=False)
|