From 9bfa1d1ecfa24623791791bd9ca9d47fca29cc05 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Mon, 22 Jan 2024 19:03:05 -0500 Subject: [PATCH] fix pull example typo --- examples/pull-progress/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pull-progress/main.py b/examples/pull-progress/main.py index 2be6415..89b2f3a 100644 --- a/examples/pull-progress/main.py +++ b/examples/pull-progress/main.py @@ -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)