xp3857 commited on
Commit
f42eca8
1 Parent(s): d5eb24d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,7 +66,7 @@ def ac():
66
  return(None,None)
67
  def cl_fac():
68
  #t_state,t_switch=start()
69
- return "",None,None,None,None
70
  with gr.Blocks() as b:
71
  with gr.Row():
72
  put = gr.Textbox()
@@ -83,7 +83,7 @@ def ac():
83
  t_switch=gr.Textbox(value=0)
84
  fac_b = gr.Textbox(value="",visible=False)
85
 
86
- b0=btn1.click(cl_fac,None,[fac_b,out1,out2,out3,out4],show_progress=False)
87
  b1=btn1.click(start,None,[t_state,t_switch])
88
  sta = t_state.change(end,t_state,t_switch,every=1)
89
  b2=t_state.change(im_fn,[put,fac_b,h],[out1,fac_b])
 
66
  return(None,None)
67
  def cl_fac():
68
  #t_state,t_switch=start()
69
+ return ""
70
  with gr.Blocks() as b:
71
  with gr.Row():
72
  put = gr.Textbox()
 
83
  t_switch=gr.Textbox(value=0)
84
  fac_b = gr.Textbox(value="",visible=False)
85
 
86
+ b0=btn1.click(cl_fac,None,[fac_b],show_progress=False)
87
  b1=btn1.click(start,None,[t_state,t_switch])
88
  sta = t_state.change(end,t_state,t_switch,every=1)
89
  b2=t_state.change(im_fn,[put,fac_b,h],[out1,fac_b])