mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-19 21:20:47 +01:00
Remove type hints from http_get
This commit is contained in:
parent
943614b5e6
commit
c288c39de7
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user