maguid28 commited on
Commit
8421df7
·
verified ·
1 Parent(s): 7c7db6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -396,7 +396,7 @@ with gr.Blocks() as demo:
396
  demo.load(fn=refresh_logs, outputs=log_box)
397
 
398
  # Then poll every 5s with a Timer (Gradio 4 way)
399
- timer = gr.Timer(interval=5.0, active=True)
400
  timer.tick(fn=refresh_logs, outputs=log_box)
401
 
402
  if __name__ == "__main__":
 
396
  demo.load(fn=refresh_logs, outputs=log_box)
397
 
398
  # Then poll every 5s with a Timer (Gradio 4 way)
399
+ timer = gr.Timer(5.0, active=True)
400
  timer.tick(fn=refresh_logs, outputs=log_box)
401
 
402
  if __name__ == "__main__":