g8a9 commited on
Commit
6410f45
1 Parent(s): c2d3801

remove restart scheduler

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -341,7 +341,8 @@ with demo:
341
  show_copy_button=True,
342
  )
343
 
344
- scheduler = BackgroundScheduler()
345
- scheduler.add_job(restart_space, "interval", seconds=7200)
346
- scheduler.start()
 
347
  demo.queue(default_concurrency_limit=20).launch()
 
341
  show_copy_button=True,
342
  )
343
 
344
+ # Remove scheduled restart
345
+ #scheduler = BackgroundScheduler()
346
+ #scheduler.add_job(restart_space, "interval", seconds=7200)
347
+ #scheduler.start()
348
  demo.queue(default_concurrency_limit=20).launch()