Skip to content

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

Fix param error. (#4355)

Kevin Hu983ec0666ccf
diff --git a/deepdoc/vision/t_recognizer.py b/deepdoc/vision/t_recognizer.py
index d0c0cb49c7..024428f707 100644
--- a/deepdoc/vision/t_recognizer.py
+++ b/deepdoc/vision/t_recognizer.py
@@ -38,7 +38,7 @@ def main(args):
detr = TableStructureRecognizer()
ocr = OCR()
- layouts = detr(images, float(args.threshold))
+ layouts = detr(images, thr=float(args.threshold))
for i, lyt in enumerate(layouts):
if args.mode.lower() == "tsr":
#lyt = [t for t in lyt if t["type"] == "table column"]