Weedoo commited on
Commit
5fd1a0f
1 Parent(s): 837effe

fix timer error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks() as demo:
73
 
74
  reset_btn = gr.Button("Reset")
75
 
76
- timer = gr.Timer(interval=600)
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])