Remove type hints from http_get

This commit is contained in:
vfbd 2022-09-15 17:39:32 -04:00
parent 943614b5e6
commit c288c39de7
1 changed files with 3 additions and 3 deletions

View File

@ -1690,11 +1690,11 @@ def patch_transformers_download():
pass
def http_get(
url: str,
temp_file: transformers.utils.hub.BinaryIO,
temp_file,
proxies=None,
resume_size=0,
headers: transformers.utils.hub.Optional[transformers.utils.hub.Dict[str, str]] = None,
file_name: transformers.utils.hub.Optional[str] = None,
headers=None,
file_name=None,
):
"""
Download remote file. Do not gobble up errors.