Spaces:
Runtime error
Runtime error
Commit
·
884f837
1
Parent(s):
2c1d73b
Update app.py
Browse files
app.py
CHANGED
@@ -42,13 +42,13 @@ repo = huggingface_hub.Repository(
|
|
42 |
repo.git_pull()
|
43 |
|
44 |
#TOKEN2 = HF_TOKEN
|
45 |
-
TOKENR = os.environ.get('HF_TOKENR')
|
46 |
|
47 |
|
48 |
-
login(token=TOKENR)
|
49 |
|
50 |
# Set db to latest
|
51 |
-
|
52 |
|
53 |
# Create table if it doesn't already exist
|
54 |
|
|
|
42 |
repo.git_pull()
|
43 |
|
44 |
#TOKEN2 = HF_TOKEN
|
45 |
+
#TOKENR = os.environ.get('HF_TOKENR')
|
46 |
|
47 |
|
48 |
+
#login(token=TOKENR)
|
49 |
|
50 |
# Set db to latest
|
51 |
+
shutil.copyfile("./data/reviews.db", DB_FILE)
|
52 |
|
53 |
# Create table if it doesn't already exist
|
54 |
|