Spaces:
Running
Running
BenchmarkBot
commited on
Commit
β’
5aacd58
1
Parent(s):
80a8e25
added args to space restart
Browse files
app.py
CHANGED
@@ -61,7 +61,8 @@ with demo:
|
|
61 |
|
62 |
# Restart space every hour
|
63 |
scheduler = BackgroundScheduler()
|
64 |
-
scheduler.add_job(restart_space, "interval", seconds=3600
|
|
|
65 |
scheduler.start()
|
66 |
|
67 |
# Launch demo
|
|
|
61 |
|
62 |
# Restart space every hour
|
63 |
scheduler = BackgroundScheduler()
|
64 |
+
scheduler.add_job(restart_space, "interval", seconds=3600,
|
65 |
+
args=[LLM_PERF_LEADERBOARD_REPO, OPTIMUM_TOKEN])
|
66 |
scheduler.start()
|
67 |
|
68 |
# Launch demo
|