Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix:remove unexpected keyword argument in table_structure_recognizer logging (#10831)

buua43660a6cf7c7a05
diff --git a/deepdoc/vision/table_structure_recognizer.py b/deepdoc/vision/table_structure_recognizer.py
index 7f4736c69f..34b988e9a8 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 = []