xp3857 commited on
Commit
774eda8
1 Parent(s): 3c896ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,6 +96,6 @@ def ac():
96
  b4=out2.change(im_fn,[put,fac_b,h],[out3,fac_b])
97
  b5=out3.change(im_fn,[put,fac_b,h],[out4,fac_b])
98
  swi=t_switch.change(clear,None,[t_switch,fac_b], cancels=[sta,b2,b3,b4,b5])
99
- btn2.click(clear_all, None,[fac_b,put,out1,out2,out3,out4,t_state,t_switch],cancels=[b1,sta,b2,b3,b4,b5,swi])
100
  b.queue(concurrency_count=100).launch(show_api=False)
101
  ac()
 
96
  b4=out2.change(im_fn,[put,fac_b,h],[out3,fac_b])
97
  b5=out3.change(im_fn,[put,fac_b,h],[out4,fac_b])
98
  swi=t_switch.change(clear,None,[t_switch,fac_b], cancels=[sta,b2,b3,b4,b5])
99
+ btn2.click(clear_all, None,[fac_b,put,out1,out2,out3,out4,t_state,t_switch],cancels=[b1,sta,b2,b3,b4,b5])
100
  b.queue(concurrency_count=100).launch(show_api=False)
101
  ac()