From 4882c32cf6b01cccbfeb699a9dbc757975d74b66 Mon Sep 17 00:00:00 2001 From: myhloli Date: Tue, 9 Jun 2026 17:21:16 +0800 Subject: [PATCH] feat: update language specification in OCR options for pipeline backend --- demo/demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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