Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
45676cc
1
Parent(s):
a74d764
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ import time
|
|
18 |
import requests
|
19 |
|
20 |
|
21 |
-
DB_FILE = "./
|
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=
|
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()
|