Terry Zhuo commited on
Commit
bc455c1
·
1 Parent(s): 8a21a5f
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -664,4 +664,5 @@ def enable_space_ci_and_return_server(ui: gr.Blocks) -> WebhooksServer:
664
 
665
  scheduler = BackgroundScheduler()
666
  scheduler.add_job(restart_space, "interval", hours=3) # restarted every 3h as backup in case automatic updates are not working
667
- scheduler.start()
 
 
664
 
665
  scheduler = BackgroundScheduler()
666
  scheduler.add_job(restart_space, "interval", hours=3) # restarted every 3h as backup in case automatic updates are not working
667
+ scheduler.start()
668
+ main_block.launch(show_error=True)