Spaces:
Runtime error
Runtime error
dev(hus): update token
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ if __name__ == '__main__':
|
|
135 |
###########################
|
136 |
if not os.path.exists(folder_path):
|
137 |
os.makedirs(folder_path)
|
138 |
-
write_token = os.environ.get('
|
139 |
huggingface_hub.login(token = write_token, write_permission = True)
|
140 |
JSON_DATASET_DIR = Path("json_dataset")
|
141 |
JSON_DATASET_DIR.mkdir(parents=True, exist_ok=True)
|
|
|
135 |
###########################
|
136 |
if not os.path.exists(folder_path):
|
137 |
os.makedirs(folder_path)
|
138 |
+
write_token = os.environ.get('CONTAINER')
|
139 |
huggingface_hub.login(token = write_token, write_permission = True)
|
140 |
JSON_DATASET_DIR = Path("json_dataset")
|
141 |
JSON_DATASET_DIR.mkdir(parents=True, exist_ok=True)
|