Spaces:
Runtime error
Runtime error
Commit
·
ecc0fdb
1
Parent(s):
8ec5686
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ from huggingface_hub import hf_hub_download
|
|
| 29 |
from huggingface_hub import login
|
| 30 |
from datasets import load_dataset
|
| 31 |
|
| 32 |
-
DB_FILE = "./
|
| 33 |
|
| 34 |
TOKEN = os.environ.get('HF_KEY')
|
| 35 |
|
|
@@ -47,7 +47,7 @@ repo.git_pull()
|
|
| 47 |
#login(token=TOKEN2)
|
| 48 |
|
| 49 |
# Set db to latest
|
| 50 |
-
|
| 51 |
|
| 52 |
# Create table if it doesn't already exist
|
| 53 |
|
|
|
|
| 29 |
from huggingface_hub import login
|
| 30 |
from datasets import load_dataset
|
| 31 |
|
| 32 |
+
DB_FILE = "./reviewsagcs.db"
|
| 33 |
|
| 34 |
TOKEN = os.environ.get('HF_KEY')
|
| 35 |
|
|
|
|
| 47 |
#login(token=TOKEN2)
|
| 48 |
|
| 49 |
# Set db to latest
|
| 50 |
+
shutil.copyfile("./reviews.db", DB_FILE)
|
| 51 |
|
| 52 |
# Create table if it doesn't already exist
|
| 53 |
|