Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -293,7 +293,7 @@ with app:
|
|
| 293 |
gr.Markdown(f"Copy the BibTeX citation to cite this source:\n\n```bibtext\n{CITATION_TEXT}\n```")
|
| 294 |
|
| 295 |
scheduler = BackgroundScheduler()
|
| 296 |
-
scheduler.add_job(restart_space, "interval", seconds=86400)
|
| 297 |
scheduler.start()
|
| 298 |
|
| 299 |
app.queue(default_concurrency_limit=40).launch()
|
|
|
|
| 293 |
gr.Markdown(f"Copy the BibTeX citation to cite this source:\n\n```bibtext\n{CITATION_TEXT}\n```")
|
| 294 |
|
| 295 |
scheduler = BackgroundScheduler()
|
| 296 |
+
scheduler.add_job(restart_space, "interval", seconds=5*86400)
|
| 297 |
scheduler.start()
|
| 298 |
|
| 299 |
app.queue(default_concurrency_limit=40).launch()
|