meg HF staff commited on
Commit
f35f2fc
1 Parent(s): 7bc82b8

Separating into "front end", from the backend at https://huggingface.co/spaces/Bias-Leaderboard/leaderboard-backend

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -376,7 +376,8 @@ with demo:
376
  )
377
 
378
  scheduler = BackgroundScheduler()
379
- scheduler.add_job(restart_space, "interval", seconds=1800)
380
- scheduler.add_job(launch_backend, "interval", seconds=100)
381
  scheduler.start()
 
382
  demo.queue(default_concurrency_limit=40).launch()
 
376
  )
377
 
378
  scheduler = BackgroundScheduler()
379
+ scheduler.add_job(restart_space, "interval", seconds=10800) # restarted every 3h
380
+ # scheduler.add_job(update_dynamic_files, "cron", minute=30) # launched every hour on the hour
381
  scheduler.start()
382
+
383
  demo.queue(default_concurrency_limit=40).launch()