From 9ac6d53a27c7760baf1d9470b44c7e1cbf3f5544 Mon Sep 17 00:00:00 2001 From: mark-beeby <43745332+mark-beeby@users.noreply.github.com> Date: Sun, 5 Jan 2025 16:24:53 +0000 Subject: [PATCH] Update README.md Code example fix, which currently generates a "vision_parse.llm.LLMError: Ollama Model processing failed: 'str' object cannot be interpreted as an integer" due to types on the ollama_config object. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1848617..92342fb 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,8 @@ parser = VisionParser( custom_prompt=custom_prompt, detailed_extraction=True, ollama_config={ - "OLLAMA_NUM_PARALLEL": "8", - "OLLAMA_REQUEST_TIMEOUT": "240.0", + "OLLAMA_NUM_PARALLEL": 8, + "OLLAMA_REQUEST_TIMEOUT": 240, }, enable_concurrency=True, )