CognitiveScience commited on
Commit
8b005c6
1 Parent(s): 210c1d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -215,9 +215,9 @@ def backup_db_csv():
215
  # demo.load(load_data,None, [reviews, total_reviews])
216
  # #return reviews, total_reviews
217
 
218
- #scheduler1 = BackgroundScheduler()
219
- #scheduler1.add_job(func=run_actr, trigger="interval", seconds=10)
220
- #scheduler1.start()
221
 
222
  scheduler1 = BackgroundScheduler()
223
  scheduler1.add_job(func=load_data, trigger="interval", seconds=364000000)
 
215
  # demo.load(load_data,None, [reviews, total_reviews])
216
  # #return reviews, total_reviews
217
 
218
+ scheduler1 = BackgroundScheduler()
219
+ scheduler1.add_job(func=run_actr, trigger="interval", seconds=6)
220
+ scheduler1.start()
221
 
222
  scheduler1 = BackgroundScheduler()
223
  scheduler1.add_job(func=load_data, trigger="interval", seconds=364000000)