mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
Merge 1ddb875ca95d245de24c95d5af35c6c9f9d69dd0 into c0d2f624c09dc18e709e37c2ad90c039a4eb72a2
This commit is contained in:
commit
86f81e2cef
@ -77,6 +77,7 @@ def _download(url: str, root: str, in_memory: bool) -> Union[bytes, str]:
|
|||||||
unit="iB",
|
unit="iB",
|
||||||
unit_scale=True,
|
unit_scale=True,
|
||||||
unit_divisor=1024,
|
unit_divisor=1024,
|
||||||
|
ascii=True,
|
||||||
) as loop:
|
) as loop:
|
||||||
while True:
|
while True:
|
||||||
buffer = source.read(8192)
|
buffer = source.read(8192)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user