examples: add pull progress readme

This commit is contained in:
Michael Yang 2024-01-18 11:19:28 -08:00
parent 89c4b54316
commit 81e253997d
3 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1,9 @@
# pull-progress
This example emulates `ollama pull` using the Python library and [`tqdm`](https://tqdm.github.io/).
## Setup
```shell
pip install -r requirements.txt
```

View File

@ -1,5 +1,3 @@
# pip install tqdm
from tqdm import tqdm
from ollama import pull

View File

@ -0,0 +1 @@
tqdm==4.66.1