xp3857 commited on
Commit
15fe5dd
1 Parent(s): dc619c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -79,10 +79,10 @@ def ac():
79
  b1=btn1.click(start,None,[t_state,t_switch])
80
  sta = t_state.change(end,t_state,t_switch,every=1)
81
 
82
- btn1.click(im_fn,[put,fac_b,h],[out1,fac_b])
83
- out1.change(im_fn,[put,fac_b,h],[out2,fac_b])
84
- out2.change(im_fn,[put,fac_b,h],[out3,fac_b])
85
- out3.change(im_fn,[put,fac_b,h],[out4,fac_b])
86
 
87
  t_switch.change(clear,None,[t_switch,fac_b], cancels=[sta,b2,b3,b4,b5])
88
 
 
79
  b1=btn1.click(start,None,[t_state,t_switch])
80
  sta = t_state.change(end,t_state,t_switch,every=1)
81
 
82
+ b2=btn1.click(im_fn,[put,fac_b,h],[out1,fac_b])
83
+ b3=out1.change(im_fn,[put,fac_b,h],[out2,fac_b])
84
+ b4=out2.change(im_fn,[put,fac_b,h],[out3,fac_b])
85
+ b5=out3.change(im_fn,[put,fac_b,h],[out4,fac_b])
86
 
87
  t_switch.change(clear,None,[t_switch,fac_b], cancels=[sta,b2,b3,b4,b5])
88