Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

feat: update language specification in OCR options for pipeline backend

myhloli4882c32cf6b0
diff --git a/demo/demo.py b/demo/demo.py
index 69bcebf1..2a1c75df 100644
--- a/demo/demo.py
+++ b/demo/demo.py
@@ -229,7 +229,7 @@ def main() -> None:
# "txt" -> force text extraction
# "ocr" -> force OCR
parse_method = "auto"
- # OCR language hint. This is mainly used by pipeline and hybrid backends.
+ # Pipeline OCR language hint; hybrid and VLM backends ignore this value.
language = "ch"
# Enable formula parsing in the output.
formula_enable = True