Skip to content

Commit

Permalink
Merge pull request #20 from ollama/BruceMacD-pull-example-type
Browse files Browse the repository at this point in the history
fix pull example typo
  • Loading branch information
mxyng authored Jan 23, 2024
2 parents 2e0b2e1 + 9bfa1d1 commit 19e7a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pull-progress/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
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)
Expand Down

0 comments on commit 19e7a3d

Please sign in to comment.