Remove type hints from http_get

This commit is contained in:
vfbd 2022-09-15 17:39:32 -04:00
parent 943614b5e6
commit c288c39de7

View File

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