Skip to content

Commit

Permalink
change syntax to fit other sdks syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianMindee committed Sep 26, 2024
1 parent 613e4be commit c4525c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/auto_invoice_splitter_extraction_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ def parse_invoice(file_path):
if input_source.is_pdf() and input_source.count_doc_pages() > 1:
parse_multi_page(input_source)
else:
parse_single(input_source)
parse_single_page(input_source)


def parse_single(input_source):
def parse_single_page(input_source):
invoice_result = mindee_client.parse(InvoiceV4, input_source)
print(invoice_result.document)

Expand Down

0 comments on commit c4525c3

Please sign in to comment.