Skip to content

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

refactor(tablemaster): update import paths for TableSystem and init_args

myhloli01cd633ded9a
diff --git a/magic_pdf/model/sub_modules/table/tablemaster/tablemaster_paddle.py b/magic_pdf/model/sub_modules/table/tablemaster/tablemaster_paddle.py
index 88dfbaf7..efadbdd7 100644
--- a/magic_pdf/model/sub_modules/table/tablemaster/tablemaster_paddle.py
+++ b/magic_pdf/model/sub_modules/table/tablemaster/tablemaster_paddle.py
@@ -2,8 +2,8 @@ import os
import cv2
import numpy as np
-from ppstructure.table.predict_table import TableSystem
-from ppstructure.utility import init_args
+from paddleocr.ppstructure.table.predict_table import TableSystem
+from paddleocr.ppstructure.utility import init_args
from PIL import Image
from magic_pdf.config.constants import * # noqa: F403