Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
1c010e6
1
Parent(s):
af26b23
Update app.py
Browse files
app.py
CHANGED
@@ -22,14 +22,14 @@ TOKEN = os.environ.get('HF_KEY')
|
|
22 |
|
23 |
repo = huggingface_hub.Repository(
|
24 |
local_dir="data",
|
25 |
-
repo_type="
|
26 |
-
clone_from="CogSphere/
|
27 |
use_auth_token=TOKEN
|
28 |
)
|
29 |
repo.git_pull()
|
30 |
|
31 |
# Set db to latest
|
32 |
-
shutil.copyfile("./data/reviews6.db", DB_FILE)
|
33 |
|
34 |
# Create table if it doesn't already exist
|
35 |
|
|
|
22 |
|
23 |
repo = huggingface_hub.Repository(
|
24 |
local_dir="data",
|
25 |
+
repo_type="space",
|
26 |
+
clone_from="CogSphere/aCogSphere",
|
27 |
use_auth_token=TOKEN
|
28 |
)
|
29 |
repo.git_pull()
|
30 |
|
31 |
# Set db to latest
|
32 |
+
#shutil.copyfile("./data/reviews6.db", DB_FILE)
|
33 |
|
34 |
# Create table if it doesn't already exist
|
35 |
|