Spaces:
Runtime error
Runtime error
Commit
·
e7ef3cf
1
Parent(s):
eb7912a
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ from apscheduler.schedulers.background import BackgroundScheduler
|
|
| 16 |
import random
|
| 17 |
import time
|
| 18 |
|
| 19 |
-
DB_FILE = "./
|
| 20 |
|
| 21 |
TOKEN = os.environ.get('HF_KEY')
|
| 22 |
|
|
@@ -29,7 +29,7 @@ repo = huggingface_hub.Repository(
|
|
| 29 |
repo.git_pull()
|
| 30 |
|
| 31 |
# Set db to latest
|
| 32 |
-
shutil.copyfile("./data/
|
| 33 |
|
| 34 |
# Create table if it doesn't already exist
|
| 35 |
|
|
|
|
| 16 |
import random
|
| 17 |
import time
|
| 18 |
|
| 19 |
+
DB_FILE = "./reviews0.db"
|
| 20 |
|
| 21 |
TOKEN = os.environ.get('HF_KEY')
|
| 22 |
|
|
|
|
| 29 |
repo.git_pull()
|
| 30 |
|
| 31 |
# Set db to latest
|
| 32 |
+
shutil.copyfile("./data/reviews.db", DB_FILE)
|
| 33 |
|
| 34 |
# Create table if it doesn't already exist
|
| 35 |
|