Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
refactor: improve clarity of instructions in README_zh-CN
myhloli3d3bdf0bea17
diff --git a/mineru/model/table/rapid_table.py b/mineru/model/table/rapid_table.pyindex 749d7aa2..174a8052 100644--- a/mineru/model/table/rapid_table.py+++ b/mineru/model/table/rapid_table.py@@ -76,11 +76,14 @@ class RapidTableModel(object):if ocr_result:- table_results = self.table_model(np.asarray(image), ocr_result)- html_code = table_results.pred_html- table_cell_bboxes = table_results.cell_bboxes- logic_points = table_results.logic_points- elapse = table_results.elapse- return html_code, table_cell_bboxes, logic_points, elapse- else:- return None, None, None, None+ try:+ table_results = self.table_model(np.asarray(image), ocr_result)+ html_code = table_results.pred_html+ table_cell_bboxes = table_results.cell_bboxes+ logic_points = table_results.logic_points+ elapse = table_results.elapse+ return html_code, table_cell_bboxes, logic_points, elapse+ except Exception as e:+ logger.exception(e)++ return None, None, None, None