← back to Exo
removing path update
6a7de04d9626bc07195af41cee961762804278fa · 2024-11-18 14:32:27 -0800 · cadenmackenzie
Files touched
M exo/download/hf/hf_helpers.py
Diff
commit 6a7de04d9626bc07195af41cee961762804278fa
Author: cadenmackenzie <cadenmackenzie@gmail.com>
Date: Mon Nov 18 14:32:27 2024 -0800
removing path update
---
exo/download/hf/hf_helpers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exo/download/hf/hf_helpers.py b/exo/download/hf/hf_helpers.py
index 4d2c8591..4b636254 100644
--- a/exo/download/hf/hf_helpers.py
+++ b/exo/download/hf/hf_helpers.py
@@ -131,7 +131,7 @@ async def download_file(
):
base_url = f"{get_hf_endpoint()}/{repo_id}/resolve/{revision}/"
url = urljoin(base_url, file_path)
- local_path = Path(os.path.join(save_directory, file_path))
+ local_path = os.path.join(save_directory, file_path)
await aios.makedirs(os.path.dirname(local_path), exist_ok=True)
← db610f59 removing traceback
·
back to Exo
·
moving os import b77362b4 →