diff --git a/mayanmindee/mindeeapi.py b/mayanmindee/mindeeapi.py index 563754b..18ba12d 100644 --- a/mayanmindee/mindeeapi.py +++ b/mayanmindee/mindeeapi.py @@ -21,7 +21,7 @@ def ocr_custom(pdf_bytes, document_name, account_name, endpoint_name, model_vers ) doc = client.source_from_bytes(pdf_bytes, document_name) if synchronous: - parsed_doc = client.parse(product.CustomV1, input_source=doc, endpoint=custom_endpoint) + 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) return parsed_doc