Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -393,7 +393,7 @@ with demo:
|
|
393 |
)
|
394 |
|
395 |
scheduler = BackgroundScheduler()
|
396 |
-
scheduler.add_job(restart_space, "interval", seconds=
|
397 |
# scheduler.add_job(launch_backend, "interval", seconds=100) # will only allow one job to be run at the same time
|
398 |
scheduler.start()
|
399 |
demo.queue(default_concurrency_limit=40).launch()
|
|
|
393 |
)
|
394 |
|
395 |
scheduler = BackgroundScheduler()
|
396 |
+
scheduler.add_job(restart_space, "interval", seconds=600)
|
397 |
# scheduler.add_job(launch_backend, "interval", seconds=100) # will only allow one job to be run at the same time
|
398 |
scheduler.start()
|
399 |
demo.queue(default_concurrency_limit=40).launch()
|