mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
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)
This commit is contained in:
@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user