fix pull example typo

This commit is contained in:
Bruce MacDonald 2024-01-22 19:03:05 -05:00 committed by GitHub
parent 2e0b2e15f0
commit 9bfa1d1ecf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ for progress in pull('mistral', stream=True):
continue
if digest not in bars and (total := progress.get('total')):
bars[digest] = tqdm(total=total, desc=f'pushing {digest[7:19]}', unit='B', unit_scale=True)
bars[digest] = tqdm(total=total, desc=f'pulling {digest[7:19]}', unit='B', unit_scale=True)
if completed := progress.get('completed'):
bars[digest].update(completed - bars[digest].n)