← back to Exo
typo fix
c422cea612e29ed1cedbff8bc13804a46f048ec4 · 2024-11-19 02:15:07 -0800 · josh
Files touched
M exo/download/hf/hf_helpers.py
Diff
commit c422cea612e29ed1cedbff8bc13804a46f048ec4
Author: josh <eyasufikru567@gmail.com>
Date: Tue Nov 19 02:15:07 2024 -0800
typo fix
---
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 0ec6710b..eeb9adfe 100644
--- a/exo/download/hf/hf_helpers.py
+++ b/exo/download/hf/hf_helpers.py
@@ -113,7 +113,7 @@ async def move_models_to_hf(seed_dir: Union[str, Path]):
async for path in source_dir.iterdir():
if path.is_dir() and path.startswith("models--"):
dest_path = dest_dir / path.name
- if dest_path.exists:
+ if dest_path.exists():
if DEBUG>=1: print(f"skipping moving {dest_path}. File already exists")
else:
await aios.rename(str(path), str(dest_path))
← cb53e717 added file exist check
·
back to Exo
·
merge conflict resolve ef372ab3 →