CognitiveScience commited on
Commit
fb4d6b3
1 Parent(s): 3c47559

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 = "./reviews1.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=300)
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=10)
136
  scheduler2.start()
137
 
138
  #scheduler2 = BackgroundScheduler()