Terry Zhuo
commited on
Commit
·
bc455c1
1
Parent(s):
8a21a5f
update
Browse files
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)
|