Unverified Commit 21468337 authored by Anton Lozhkov's avatar Anton Lozhkov Committed by GitHub
Browse files

Add unit_divisor to downloads (#13468)

parent 63b90a51
...@@ -1518,6 +1518,7 @@ def http_get(url: str, temp_file: BinaryIO, proxies=None, resume_size=0, headers ...@@ -1518,6 +1518,7 @@ def http_get(url: str, temp_file: BinaryIO, proxies=None, resume_size=0, headers
progress = tqdm( progress = tqdm(
unit="B", unit="B",
unit_scale=True, unit_scale=True,
unit_divisor=1024,
total=total, total=total,
initial=resume_size, initial=resume_size,
desc="Downloading", desc="Downloading",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment