Skip to content

Commit

Permalink
Merge pull request #20 from deepghs/fix/new
Browse files Browse the repository at this point in the history
dev(narugo): comptiable with hf 0.23.x
  • Loading branch information
narugo1992 authored Jun 2, 2024
2 parents e65fa30 + 4e48bde commit ab91b84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions hfutils/operate/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion requirements-build.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pyinstaller>=4.7,<5
pyinstaller>=4.7,<5
setuptools<70
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
hbutils>=0.9.0
huggingface_hub>=0.22
huggingface_hub>=0.23
tqdm
requests
click>=7
Expand Down

0 comments on commit ab91b84

Please sign in to comment.