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(model): comment out unused code in ppTableModel
myhloli5ee02a99b162
diff --git a/magic_pdf/model/ppTableModel.py b/magic_pdf/model/ppTableModel.pyindex 2d4f3f1f..19669237 100644--- a/magic_pdf/model/ppTableModel.py+++ b/magic_pdf/model/ppTableModel.py@@ -39,8 +39,8 @@ class ppTableModel(object):image = np.array(image)pred_res, _ = self.table_sys(image)pred_html = pred_res["html"]- res = '<td><table border="1">' + pred_html.replace("<html><body><table>", "").replace("</table></body></html>",- "") + "</table></td>\n"+ # res = '<td><table border="1">' + pred_html.replace("<html><body><table>", "").replace(+ # "</table></body></html>","") + "</table></td>\n"return pred_htmldef parse_args(self, **kwargs):