xp3857 commited on
Commit
bda4a03
1 Parent(s): 7ca712f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -93,9 +93,9 @@ def ac():
93
  b1=btn1.click(start,None,[t_state,t_switch,out1,out2,out3,out4,fac_c])
94
  sta = t_state.change(end,t_state,t_switch,every=1)
95
  b2=btn1.click(im_fn,[put,fac_b,fac_d,h],[out1,fac_b,fac_c])
96
- #b3=out1.change(im_fn,[put,fac_b,fac_c,h],[out2,fac_b,fac_c])
97
- #b4=out2.change(im_fn,[put,fac_b,fac_c,h],[out3,fac_b,fac_c])
98
- #b5=out3.change(im_fn,[put,fac_b,fac_c,h],[out4,fac_b,fac_c])
99
  #b0=btn1.click(cl_fac,None,[fac_b,fac_c,out1,out2,out3,out4],show_progress=False)
100
  t_switch.change(clear,t_switch,t_switch, cancels=[sta,b2,b3,b4,b5])
101
 
 
93
  b1=btn1.click(start,None,[t_state,t_switch,out1,out2,out3,out4,fac_c])
94
  sta = t_state.change(end,t_state,t_switch,every=1)
95
  b2=btn1.click(im_fn,[put,fac_b,fac_d,h],[out1,fac_b,fac_c])
96
+ b3=out1.change(im_fn,[put,fac_b,fac_c,h],[out2,fac_b,fac_c])
97
+ b4=out2.change(im_fn,[put,fac_b,fac_c,h],[out3,fac_b,fac_c])
98
+ b5=out3.change(im_fn,[put,fac_b,fac_c,h],[out4,fac_b,fac_c])
99
  #b0=btn1.click(cl_fac,None,[fac_b,fac_c,out1,out2,out3,out4],show_progress=False)
100
  t_switch.change(clear,t_switch,t_switch, cancels=[sta,b2,b3,b4,b5])
101