Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,7 @@ loading=("""
|
|
40 |
<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>""")
|
41 |
|
42 |
def ac():
|
|
|
43 |
def clear():
|
44 |
return gr.update(value=0),gr.update(value=0)
|
45 |
def start():
|
@@ -94,8 +95,7 @@ def ac():
|
|
94 |
|
95 |
def noth():
|
96 |
return gr.HTML.update("<div></div>")
|
97 |
-
|
98 |
-
#a1=btn1.click(noth,None,btn1,every=1)
|
99 |
btn1.click(cl_fac,None,[fac_b,message],show_progress=False)
|
100 |
b1=btn1.click(start,None,[t_state,t_switch],show_progress=True)
|
101 |
sta = t_state.change(end,t_state,[t_switch,message2],every=1,show_progress=True)
|
|
|
40 |
<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>""")
|
41 |
|
42 |
def ac():
|
43 |
+
theme = "huggingface"
|
44 |
def clear():
|
45 |
return gr.update(value=0),gr.update(value=0)
|
46 |
def start():
|
|
|
95 |
|
96 |
def noth():
|
97 |
return gr.HTML.update("<div></div>")
|
98 |
+
#a1=btn1.click(noth,None,btn1,every=1)
|
|
|
99 |
btn1.click(cl_fac,None,[fac_b,message],show_progress=False)
|
100 |
b1=btn1.click(start,None,[t_state,t_switch],show_progress=True)
|
101 |
sta = t_state.change(end,t_state,[t_switch,message2],every=1,show_progress=True)
|