Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
feat: remove conditional fallback for 'seal' language on CPU device
myhlolidb04ea04bb10
diff --git a/mineru/utils/ocr_language.py b/mineru/utils/ocr_language.pyindex 866fe1da..72f3793e 100644--- a/mineru/utils/ocr_language.py+++ b/mineru/utils/ocr_language.py@@ -141,8 +141,8 @@ def normalize_ocr_model_lang(normalized_lang = lang or "ch"if normalized_lang in _CH_LANG_ALIASES:normalized_lang = "ch"- elif device == "cpu" and normalized_lang == "seal":- normalized_lang = "seal_lite"+ # elif device == "cpu" and normalized_lang == "seal":+ # normalized_lang = "seal_lite"elif normalized_lang in _EAST_SLAVIC_LANG_ALIASES:normalized_lang = "east_slavic"elif normalized_lang in _ARABIC_LANG_ALIASES: