ThomasSimonini HF staff commited on
Commit
7311de5
·
1 Parent(s): 2025eb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -346,6 +346,7 @@ with block:
346
  scheduler = BackgroundScheduler()
347
  # Refresh every hour
348
  scheduler.add_job(func=run_update_dataset, trigger="interval", seconds=3600)
 
349
  scheduler.start()
350
 
351
  block.launch()
 
346
  scheduler = BackgroundScheduler()
347
  # Refresh every hour
348
  scheduler.add_job(func=run_update_dataset, trigger="interval", seconds=3600)
349
+ scheduler.add_job(download_dataset, 'interval', seconds=3600)
350
  scheduler.start()
351
 
352
  block.launch()