Commit
·
93397bb
1
Parent(s):
ae5f396
Change update for every 2 hours
Browse files
app.py
CHANGED
@@ -368,7 +368,7 @@ scheduler = BackgroundScheduler()
|
|
368 |
#scheduler.add_job(func=run_update_dataset, trigger="interval", seconds=3600)
|
369 |
#scheduler.add_job(download_leaderboard_dataset, 'interval', seconds=3600)
|
370 |
#scheduler.add_job(run_update_dataset, 'interval', seconds=3600)
|
371 |
-
scheduler.add_job(restart, 'interval', seconds=
|
372 |
scheduler.start()
|
373 |
|
374 |
block.launch()
|
|
|
368 |
#scheduler.add_job(func=run_update_dataset, trigger="interval", seconds=3600)
|
369 |
#scheduler.add_job(download_leaderboard_dataset, 'interval', seconds=3600)
|
370 |
#scheduler.add_job(run_update_dataset, 'interval', seconds=3600)
|
371 |
+
scheduler.add_job(restart, 'interval', seconds=7200)
|
372 |
scheduler.start()
|
373 |
|
374 |
block.launch()
|