Skip to content

Commit

Permalink
Update mindeeapi.py
Browse files Browse the repository at this point in the history
Changed product to GeneratedV1
  • Loading branch information
DrRSatzteil authored Mar 10, 2024
1 parent 9b81c0b commit 97f1f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mayanmindee/mindeeapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ def ocr_custom(pdf_bytes, document_name, account_name, endpoint_name, model_vers
if synchronous:
parsed_doc = client.parse(product.CustomV1, input_source=doc, include_words=True, endpoint=custom_endpoint)
else:
parsed_doc = client.enqueue_and_parse(product.CustomV1, input_source=doc, include_words=True, endpoint=custom_endpoint)
parsed_doc = client.enqueue_and_parse(product.GeneratedV1, input_source=doc, include_words=True, endpoint=custom_endpoint)
return parsed_doc

0 comments on commit 97f1f3b

Please sign in to comment.