Skip to content

Commit

Permalink
chore: Code clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Nikos Livathinos <[email protected]>
  • Loading branch information
nikos-livathinos committed Jan 13, 2025
1 parent 586ae01 commit e53e1e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docling_eval/evaluators/readingorder_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __call__(
# print(f"\n{i} - doc_id: {doc_id}")
# self._show_items(true_doc)

reading_order = self._get_reading_order_preds(doc_id, true_doc)
reading_order = self._get_reading_order_preds(true_doc)
if reading_order is None:
print(f"Broken input: {doc_id}")
broken_inputs += 1
Expand Down Expand Up @@ -97,7 +97,7 @@ def __call__(

return ds_reading_order_evaluation

def _get_reading_order_preds(self, doc_id: str, true_doc: DoclingDocument):
def _get_reading_order_preds(self, true_doc: DoclingDocument):
r""" """
try:
# Run the reading order model
Expand Down

0 comments on commit e53e1e5

Please sign in to comment.