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
fix: restore hybrid analyze imports in common.py for backend processing
myhloli8996e06448e4
diff --git a/mineru/cli/common.py b/mineru/cli/common.pyindex 23aaeec7..4eae0de8 100644--- a/mineru/cli/common.py+++ b/mineru/cli/common.py@@ -17,8 +17,6 @@ from mineru.utils.pdf_image_tools import images_bytes_to_pdf_bytesfrom mineru.backend.vlm.vlm_middle_json_mkcontent import union_make as vlm_union_makefrom mineru.backend.vlm.vlm_analyze import doc_analyze as vlm_doc_analyzefrom mineru.backend.vlm.vlm_analyze import aio_doc_analyze as aio_vlm_doc_analyze-from mineru.backend.hybrid.hybrid_analyze import doc_analyze as hybrid_doc_analyze-from mineru.backend.hybrid.hybrid_analyze import aio_doc_analyze as aio_hybrid_doc_analyzefrom mineru.utils.pdf_page_id import get_end_page_idif os.getenv("MINERU_LMDEPLOY_DEVICE", "") == "maca":@@ -326,6 +324,7 @@ def _process_hybrid(server_url=None,**kwargs,):+ from mineru.backend.hybrid.hybrid_analyze import doc_analyze as hybrid_doc_analyze"""同步处理hybrid后端逻辑"""if not backend.endswith("client"):server_url = None@@ -378,8 +377,8 @@ async def _async_process_hybrid(server_url=None,**kwargs,):+ from mineru.backend.hybrid.hybrid_analyze import aio_doc_analyze as aio_hybrid_doc_analyze"""异步处理hybrid后端逻辑"""-if not backend.endswith("client"):server_url = None