Skip to content

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

Update mineru/utils/pdf_image_tools.py

Xiaomeng Zhaoa9c9501af6c1
diff --git a/mineru/utils/pdf_image_tools.py b/mineru/utils/pdf_image_tools.py
index fb06db80..c98e3134 100644
--- a/mineru/utils/pdf_image_tools.py
+++ b/mineru/utils/pdf_image_tools.py
@@ -76,8 +76,6 @@ def load_images_from_pdf(
else:
# 根据进程数调整超时时间
threads = min(os.cpu_count() or 1, threads)
- timeout = timeout // threads
-
end_page_id = get_end_page_id(end_page_id, len(pdf_doc))
# 计算总页数