BenchmarkBot commited on
Commit
5aacd58
β€’
1 Parent(s): 80a8e25

added args to space restart

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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