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 Zhaofe1549960d14
diff --git a/mineru/utils/pdf_image_tools.py b/mineru/utils/pdf_image_tools.py
index 41d0237f..7347b9d5 100644
--- a/mineru/utils/pdf_image_tools.py
+++ b/mineru/utils/pdf_image_tools.py
@@ -97,7 +97,7 @@ def load_images_from_pdf(
for i in range(actual_threads):
range_start = start_page_id + i * pages_per_thread
if i == actual_threads - 1:
- # 最后一个线程处理剩余所有页面
+ # 最后一个进程处理剩余所有页面
range_end = end_page_id
else:
range_end = start_page_id + (i + 1) * pages_per_thread - 1