diff --git a/hfutils/operate/download.py b/hfutils/operate/download.py index f2dbca406d..46cdfc9657 100644 --- a/hfutils/operate/download.py +++ b/hfutils/operate/download.py @@ -44,8 +44,6 @@ def download_file_to_file(local_file: str, repo_id: str, file_in_repo: str, filename=hf_normpath(file_in_repo), revision=revision, local_dir=td, - force_download=True, - local_dir_use_symlinks=False, resume_download=resume_download, ) finally: diff --git a/requirements-build.txt b/requirements-build.txt index 3bbfd308d1..0f4d333f7f 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -1 +1,2 @@ -pyinstaller>=4.7,<5 \ No newline at end of file +pyinstaller>=4.7,<5 +setuptools<70 diff --git a/requirements.txt b/requirements.txt index 6ca723a5ba..037268bdd2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ hbutils>=0.9.0 -huggingface_hub>=0.22 +huggingface_hub>=0.23 tqdm requests click>=7