Skip to content

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

分段代码规范化

liukaiwena99c21299b0b
diff --git a/magic_pdf/pre_proc/equations_replace.py b/magic_pdf/pre_proc/equations_replace.py
index 70965615..8562be3d 100644
--- a/magic_pdf/pre_proc/equations_replace.py
+++ b/magic_pdf/pre_proc/equations_replace.py
@@ -449,7 +449,7 @@ def replace_inline_equations(inline_equation_bboxes, raw_text_blocks):
for blk in raw_text_blocks:
if _is_xin(eqbox, blk["bbox"]):
if not replace_eq_blk(eqinfo, blk):
- logger.error(f"行内公式没有替换成功:{eqinfo} ")
+ logger.warning(f"行内公式没有替换成功:{eqinfo} ")
else:
break