Skip to content

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

fix: remove commented-out code for wireless table prediction to enhance code clarity

myhloli28d0360ec35e
diff --git a/mineru/backend/pipeline/batch_analyze.py b/mineru/backend/pipeline/batch_analyze.py
index b8dc5c92..861c3c20 100644
--- a/mineru/backend/pipeline/batch_analyze.py
+++ b/mineru/backend/pipeline/batch_analyze.py
@@ -189,14 +189,6 @@ class BatchAnalyze:
atom_model_name=AtomicModel.WirelessTable,
)
wireless_table_model.batch_predict(table_res_list_all_page)
- # for table_res_dict in tqdm(table_res_list_all_page, desc="Table-wireless Predict"):
- # if not table_res_dict.get("ocr_result", None):
- # continue
- # html_code, table_cell_bboxes, logic_points, elapse = wireless_table_model.predict(
- # table_res_dict["table_img"], table_res_dict["ocr_result"]
- # )
- # if html_code:
- # table_res_dict["table_res"]["html"] = html_code
# 单独拿出有线表格进行预测
wired_table_res_list = []