Spaces:
Runtime error
Runtime error
Ffftdtd5dtft
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -274,7 +274,7 @@ def restart_space():
|
|
274 |
HfApi().restart_space(repo_id="Ffftdtd5dtft/gguf-my-repo", token=HF_TOKEN, factory_reboot=True)
|
275 |
|
276 |
scheduler = BackgroundScheduler()
|
277 |
-
scheduler.add_job(restart_space, "interval", seconds=
|
278 |
scheduler.start()
|
279 |
|
280 |
-
demo.queue(default_concurrency_limit=1, max_size=
|
|
|
274 |
HfApi().restart_space(repo_id="Ffftdtd5dtft/gguf-my-repo", token=HF_TOKEN, factory_reboot=True)
|
275 |
|
276 |
scheduler = BackgroundScheduler()
|
277 |
+
scheduler.add_job(restart_space, "interval", seconds=21600)
|
278 |
scheduler.start()
|
279 |
|
280 |
+
demo.queue(default_concurrency_limit=1, max_size=5).launch(debug=True, show_api=False)
|