Always resume downloads (#674)

* Always resume downloads

* format

---------

Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
da-z 2024-04-11 15:52:32 +02:00 committed by GitHub
parent eff6690952
commit 5a4cad34ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,6 +86,7 @@ def get_model_path(path_or_hf_repo: str, revision: Optional[str] = None) -> Path
"*.tiktoken", "*.tiktoken",
"*.txt", "*.txt",
], ],
resume_download=True,
) )
) )
return model_path return model_path