Skip to content

Conversation

@qued
Copy link
Contributor

@qued qued commented Mar 31, 2023

Allows extract_tables parameter to be passed from higher level functions process_file_with_model and process_data_with_model.

Testing:

Run:

from unstructured_inference.inference.layout import process_file_with_model
process_file_with_model("sample-docs/loremipsum.pdf", model_name="yolox", extract_tables=False)

Should generate no errors.

@qued qued requested a review from benjats07 March 31, 2023 21:44
@qued qued requested a review from ajjimeno March 31, 2023 21:45
Copy link
Contributor

@benjats07 benjats07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qued qued merged commit 148b268 into main Mar 31, 2023
@qued qued deleted the feat/extend-extract_tables-through-api branch March 31, 2023 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants