Browse Source

removing path update

cadenmackenzie 8 tháng trước cách đây
mục cha
commit
6a7de04d96
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      exo/download/hf/hf_helpers.py

+ 1 - 1
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)