Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
8b005c6
1
Parent(s):
210c1d1
Update app.py
Browse files
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 |
-
|
219 |
-
|
220 |
-
|
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)
|