Spaces:
Runtime error
Runtime error
fix 'space' format
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def _get_api_key_cfgs(api_key):
|
|
133 |
if __name__ == '__main__':
|
134 |
|
135 |
###########################
|
136 |
-
|
137 |
os.makedirs(folder_path)
|
138 |
write_token = os.environ.get('CONTAINER')
|
139 |
huggingface_hub.login(token = write_token, write_permission = True)
|
|
|
133 |
if __name__ == '__main__':
|
134 |
|
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)
|