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:
parent
8572e1f3db
commit
60a6cf7c7a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue