Skip to content

Commit

Permalink
fix invalid if
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianMindee committed Aug 19, 2024
1 parent 2966c67 commit 70de476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mindee/extraction/pdf_extractor/pdf_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def extract_invoices(
confidence = page_index.confidence
page_list = page_index.page_indexes

if confidence > 0.5 and previous_confidence is None:
if confidence >= 0.5 and previous_confidence is None:
current_list = page_list
elif confidence >= 0.5:
correct_page_indexes.append(current_list)
Expand Down

0 comments on commit 70de476

Please sign in to comment.