From 60a6cf7c7a05badbe53d07b75f7c9cf9597c2134 Mon Sep 17 00:00:00 2001 From: buua436 <66937541+buua436@users.noreply.github.com> Date: Tue, 28 Oct 2025 11:02:43 +0800 Subject: [PATCH] Fix:remove unexpected keyword argument in table_structure_recognizer logging (#10831) ### What problem does this PR solve? issue: #10825 change: remove unexpected keyword argument in table_structure_recognizer logging ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- deepdoc/vision/table_structure_recognizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deepdoc/vision/table_structure_recognizer.py b/deepdoc/vision/table_structure_recognizer.py index 7f4736c69..34b988e9a 100644 --- a/deepdoc/vision/table_structure_recognizer.py +++ b/deepdoc/vision/table_structure_recognizer.py @@ -57,10 +57,10 @@ class TableStructureRecognizer(Recognizer): raise RuntimeError("Unsupported table structure recognizer type.") if table_structure_recognizer_type == "onnx": - logging.debug("Using Onnx table structure recognizer", flush=True) + logging.debug("Using Onnx table structure recognizer") tbls = super().__call__(images, thr) else: # ascend - logging.debug("Using Ascend table structure recognizer", flush=True) + logging.debug("Using Ascend table structure recognizer") tbls = self._run_ascend_tsr(images, thr) res = []