fix timer error
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks() as demo:
|
|
73 |
|
74 |
reset_btn = gr.Button("Reset")
|
75 |
|
76 |
-
timer = gr.Timer(
|
77 |
timer.tick(reset_project)
|
78 |
|
79 |
reset_btn.click(fn = reset_project, inputs= [], outputs= [reset_output])
|
|
|
73 |
|
74 |
reset_btn = gr.Button("Reset")
|
75 |
|
76 |
+
timer = gr.Timer(value=600)
|
77 |
timer.tick(reset_project)
|
78 |
|
79 |
reset_btn.click(fn = reset_project, inputs= [], outputs= [reset_output])
|