Skip to content

bug/partition where unstructured-inference does not have keyword argument password in get_model() #3987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
atangsyd opened this issue Apr 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@atangsyd
Copy link

Describe the bug
When using partition or partition_pdf on a filepath, it returns me an error due to issues with the unstructured-inference package not being up to date

To Reproduce
file_path = "path_to_my_pdf.pdf"
pdf_elements = partition(file_path , strategy='hi_res', hi_res_model_name='yolox', ocr_mode='none')

Expected behavior
PDF elements returned where I can extract tables without doing an OCR on the whole document so it returns a result faster

Screenshots
Image

Additional context
I am using unstructured 0.17.2 but the dependency is it only lets met install unstructured-inference 0.7.26. There have been additions to both and they need to be synchronised.

@atangsyd atangsyd added the bug Something isn't working label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant