瀏覽代碼

Update mineru/utils/pdf_image_tools.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Xiaomeng Zhao 1 月之前
父節點
當前提交
a9c9501af6
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      mineru/utils/pdf_image_tools.py

+ 0 - 2
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))
 
         # 计算总页数