CognitiveScience commited on
Commit
45676cc
1 Parent(s): a74d764

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ import time
18
  import requests
19
 
20
 
21
- DB_FILE = "./reviews02.db"
22
 
23
  TOKEN = os.environ.get('HF_KEY')
24
 
@@ -132,7 +132,7 @@ def backup_db():
132
  # #return reviews, total_reviews
133
 
134
  scheduler2 = BackgroundScheduler()
135
- scheduler2.add_job(func=run_actr, trigger="interval", seconds=60)
136
  scheduler2.start()
137
 
138
  #scheduler2 = BackgroundScheduler()
 
18
  import requests
19
 
20
 
21
+ DB_FILE = "./reviews.db"
22
 
23
  TOKEN = os.environ.get('HF_KEY')
24
 
 
132
  # #return reviews, total_reviews
133
 
134
  scheduler2 = BackgroundScheduler()
135
+ scheduler2.add_job(func=run_actr, trigger="interval", seconds=600)
136
  scheduler2.start()
137
 
138
  #scheduler2 = BackgroundScheduler()