Commit d4ef4349 authored by zhougaofeng's avatar zhougaofeng
Browse files

Update pdf_extract_kit.py

parent 78340ac2
......@@ -370,7 +370,7 @@ class CustomPEKModel:
ocr_cost = round(time.time() - ocr_start, 2)
# logger.info(f"ocr cost: {ocr_cost}")
total_cost = total_cost + ocr_cost
total_cost = round(total_cost + ocr_cost,2)
index = index + 1
end_page_id = end_page_id + 1
logger.info(f'当前解析第【{index} / {end_page_id}】页, 耗时:{total_cost}')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment