Spaces:
Running
on
A100
Running
on
A100
no error
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ def merge(yaml_config: str, hf_token: str, repo_name: str) -> Iterable[List[Log]
|
|
141 |
|
142 |
api = huggingface_hub.HfApi(token=hf_token)
|
143 |
|
144 |
-
with tempfile.TemporaryDirectory() as tmpdirname:
|
145 |
tmpdir = pathlib.Path(tmpdirname)
|
146 |
merged_path = tmpdir / "merged"
|
147 |
merged_path.mkdir(parents=True, exist_ok=True)
|
|
|
141 |
|
142 |
api = huggingface_hub.HfApi(token=hf_token)
|
143 |
|
144 |
+
with tempfile.TemporaryDirectory(ignore_cleanup_errors=True) as tmpdirname:
|
145 |
tmpdir = pathlib.Path(tmpdirname)
|
146 |
merged_path = tmpdir / "merged"
|
147 |
merged_path.mkdir(parents=True, exist_ok=True)
|