Spaces:
Runtime error
Runtime error
dev(hus): fix typo
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ if __name__ == '__main__':
|
|
134 |
|
135 |
###########################
|
136 |
write_token = os.environ.get('token')
|
137 |
-
huggingface_hub.login(token = write_token, write_permission =
|
138 |
JSON_DATASET_DIR = Path("json_dataset")
|
139 |
JSON_DATASET_DIR.mkdir(parents=True, exist_ok=True)
|
140 |
JSON_DATASET_PATH = JSON_DATASET_DIR / f"train-{uuid4()}.json"
|
|
|
134 |
|
135 |
###########################
|
136 |
write_token = os.environ.get('token')
|
137 |
+
huggingface_hub.login(token = write_token, write_permission = True)
|
138 |
JSON_DATASET_DIR = Path("json_dataset")
|
139 |
JSON_DATASET_DIR.mkdir(parents=True, exist_ok=True)
|
140 |
JSON_DATASET_PATH = JSON_DATASET_DIR / f"train-{uuid4()}.json"
|