mirror of
https://github.com/ollama/ollama-python.git
synced 2026-08-10 15:17:47 +00:00
examples: add pull progress readme
This commit is contained in:
@@ -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
|
||||
```
|
||||
@@ -1,5 +1,3 @@
|
||||
# pip install tqdm
|
||||
|
||||
from tqdm import tqdm
|
||||
from ollama import pull
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
tqdm==4.66.1
|
||||
Reference in New Issue
Block a user