xp3857 commited on
Commit
cc054c3
1 Parent(s): 2f0e793

Update app.py

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