mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 14:35:57 +00:00
Force tqdm to use ASCII characters for the progress bar
This commit is contained in:
parent
248b6cb124
commit
1ddb875ca9
@ -71,6 +71,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