From 0dcdbcc61aae5aeab909bb59d3a854396c38421d Mon Sep 17 00:00:00 2001 From: Jake Poznanski Date: Fri, 14 Feb 2025 11:07:42 -0800 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 507ec69..1b27d15 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,14 @@ to make sure you have access to https://huggingface.co/allenai/olmOCR-7B-0225-pr For quick testing, try the [web demo](https://olmocr.allen.ai/). To run locally, a GPU is required, as inference is powered by [sglang](https://github.com/sgl-project/sglang) under the hood. Convert a Single PDF: ```bash -python -m olmocr.pipeline ./localworkspace --pdfs tests/gnarly_pdfs/horribleocr.pdf # will convert one PDF into a directory called `localworkspace` +python -m olmocr.pipeline ./localworkspace --pdfs tests/gnarly_pdfs/horribleocr.pdf ``` Convert Multiple PDFs: ```bash python -m olmocr.pipeline ./localworkspace --pdfs tests/gnarly_pdfs/*.pdf ``` +Results will be stored as JSON in `./localworkspace`. #### Viewing Results