Update app.py
Browse files
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 ""
|
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
|
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])
|