Update app.py
Browse files
app.py
CHANGED
|
@@ -662,7 +662,7 @@ def enable_space_ci_and_return_server(ui: gr.Blocks) -> WebhooksServer:
|
|
| 662 |
|
| 663 |
# webhooks_server.launch()
|
| 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)
|
|
|
|
| 662 |
|
| 663 |
# webhooks_server.launch()
|
| 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)
|