Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Increase concurrency count
Browse files
app.py
CHANGED
@@ -478,4 +478,5 @@ with demo:
|
|
478 |
scheduler = BackgroundScheduler()
|
479 |
scheduler.add_job(restart_space, "interval", seconds=3600)
|
480 |
scheduler.start()
|
481 |
-
demo.launch()
|
|
|
|
478 |
scheduler = BackgroundScheduler()
|
479 |
scheduler.add_job(restart_space, "interval", seconds=3600)
|
480 |
scheduler.start()
|
481 |
+
demo.queue(concurrency_count=40).launch()
|
482 |
+
|