Spaces:
Sleeping
Sleeping
XufengDuan
commited on
Commit
·
f6be763
1
Parent(s):
d062868
update scripts
Browse files
app.py
CHANGED
@@ -399,6 +399,6 @@ def background_init_and_process():
|
|
399 |
|
400 |
scheduler = BackgroundScheduler()
|
401 |
scheduler.add_job(background_init_and_process, 'date', run_date=datetime.datetime.now()) # 立即执行
|
402 |
-
scheduler.add_job(restart_space, "interval", seconds=
|
403 |
scheduler.start()
|
404 |
demo.queue(default_concurrency_limit=40).launch()
|
|
|
399 |
|
400 |
scheduler = BackgroundScheduler()
|
401 |
scheduler.add_job(background_init_and_process, 'date', run_date=datetime.datetime.now()) # 立即执行
|
402 |
+
scheduler.add_job(restart_space, "interval", seconds=36000)
|
403 |
scheduler.start()
|
404 |
demo.queue(default_concurrency_limit=40).launch()
|