Skip to content

Commit 81003c1

Browse files
author
Solveit
committed
simplify downloaders in a fastcore-like style
1 parent 4bc2a15 commit 81003c1

6 files changed

Lines changed: 59 additions & 148 deletions

File tree

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,8 @@ find_eval(evals, url, by='url')
221221
### Downloading Evaluation Documents
222222

223223
``` python
224-
from evaluatr.downloaders import download_docs
225-
from pathlib import Path
226-
227-
fname = 'files/test/evaluations.json'
228-
base_dir = Path("files/test/pdf_library")
229-
download_docs(fname, base_dir=base_dir, n_workers=0, overwrite=True)
224+
from evaluatr.downloaders import download_evals
225+
download_evals(evals)
230226
```
231227

232228
### Command Line Interface (CLI) Workflow

evaluatr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.7.1"
1+
__version__ = "0.7.2"

0 commit comments

Comments
 (0)