From 97f1f3b141fa8d6713f501b3596dd3975edeb419 Mon Sep 17 00:00:00 2001 From: Thomas Lauterbach <2452988+DrRSatzteil@users.noreply.github.com> Date: Sun, 10 Mar 2024 15:15:59 +0100 Subject: [PATCH] Update mindeeapi.py Changed product to GeneratedV1 --- mayanmindee/mindeeapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayanmindee/mindeeapi.py b/mayanmindee/mindeeapi.py index 18ba12d..b021d42 100644 --- a/mayanmindee/mindeeapi.py +++ b/mayanmindee/mindeeapi.py @@ -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