mirror of
https://github.com/ollama/ollama-python.git
synced 2026-10-13 12:27:26 +00:00
Merge pull request #20 from ollama/BruceMacD-pull-example-type
fix pull example typo
This commit is contained in:
@@ -13,7 +13,7 @@ for progress in pull('mistral', stream=True):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if digest not in bars and (total := progress.get('total')):
|
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'):
|
if completed := progress.get('completed'):
|
||||||
bars[digest].update(completed - bars[digest].n)
|
bars[digest].update(completed - bars[digest].n)
|
||||||
|
|||||||
Reference in New Issue
Block a user