Explorar o código

removing path update

cadenmackenzie hai 8 meses
pai
achega
6a7de04d96
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)