Spaces:
Runtime error
Runtime error
Commit
Β·
be2d0e3
1
Parent(s):
8185fe8
debug
Browse files- app.py +2 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -24,7 +24,8 @@ except:
|
|
| 24 |
repo = huggingface_hub.Repository(
|
| 25 |
local_dir=DATA_DIR,
|
| 26 |
clone_from=DATASET_REPO_URL,
|
| 27 |
-
|
|
|
|
| 28 |
)
|
| 29 |
repo.git_pull()
|
| 30 |
|
|
|
|
| 24 |
repo = huggingface_hub.Repository(
|
| 25 |
local_dir=DATA_DIR,
|
| 26 |
clone_from=DATASET_REPO_URL,
|
| 27 |
+
token=HF_TOKEN_UPLOAD,
|
| 28 |
+
repo_type='dataset',
|
| 29 |
)
|
| 30 |
repo.git_pull()
|
| 31 |
|
requirements.txt
CHANGED
|
@@ -2,4 +2,4 @@ torch==1.13.1
|
|
| 2 |
transformers==4.23.1
|
| 3 |
tokenizers==0.13.2
|
| 4 |
sentencepiece==0.1.96
|
| 5 |
-
huggingface_hub
|
|
|
|
| 2 |
transformers==4.23.1
|
| 3 |
tokenizers==0.13.2
|
| 4 |
sentencepiece==0.1.96
|
| 5 |
+
huggingface_hub==0.13.4
|