Saiyaswanth007 commited on
Commit
9673e56
·
1 Parent(s): a7b6791

every DEPCIATED

Browse files
Files changed (1) hide show
  1. ui.py +2 -2
ui.py CHANGED
@@ -377,8 +377,8 @@ def build_ui():
377
  except Exception as e:
378
  return f"Connection error: {str(e)}"
379
 
380
- status_timer = gr.Timer()
381
- status_timer.tick(fn=get_status, outputs=status_output, every=5)
382
 
383
 
384
  return demo
 
377
  except Exception as e:
378
  return f"Connection error: {str(e)}"
379
 
380
+ status_timer = gr.Timer(interval=5)
381
+ status_timer.tick(fn=get_status, outputs=status_output)
382
 
383
 
384
  return demo