Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixuejing
commited on
Commit
·
3996254
1
Parent(s):
c623d2b
add log
Browse files
app.py
CHANGED
@@ -66,6 +66,7 @@ def init_space():
|
|
66 |
repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
|
67 |
)
|
68 |
except Exception:
|
|
|
69 |
restart_space()
|
70 |
|
71 |
|
@@ -441,4 +442,4 @@ scheduler.add_job(restart_space, "interval", seconds=3600) # restarted every 3h
|
|
441 |
scheduler.add_job(update_dynamic_files, "cron", minute=30) # launched every hour on the hour
|
442 |
scheduler.start()
|
443 |
|
444 |
-
demo.queue(default_concurrency_limit=40).launch()
|
|
|
66 |
repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
|
67 |
)
|
68 |
except Exception:
|
69 |
+
print("EVAL_RESULTS exception", Exception)
|
70 |
restart_space()
|
71 |
|
72 |
|
|
|
442 |
scheduler.add_job(update_dynamic_files, "cron", minute=30) # launched every hour on the hour
|
443 |
scheduler.start()
|
444 |
|
445 |
+
demo.queue(default_concurrency_limit=40).launch()
|