-
Notifications
You must be signed in to change notification settings - Fork 583
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
partition_pdf got TypeError: UnstructuredTableTransformerModel.predict() got an unexpected keyword argument 'result_format' #3253
Comments
Hi! I have been getting the same error today when trying to use partition_pdf - When the |
I have the same problem here! |
@christinestraub You're right. Problem is solved after upgrading the latest unstructured-inference library. Thanks. |
@christinestraub I have: Python3.10, unstructured = {extras = ["pdf"], version = "^0.14.8"} in my poetry config, unstructured 0.14.8 and unstructured-inference 0.7.36. But I still get the error. |
@IngLP Can you please provide a pdf document that we could use to reproduce? |
Hi @christinestraub , I deleted and recreated the whole Python environment and now everything works. Thank you for your help. |
Describe the bug
partition_pdf got
TypeError: UnstructuredTableTransformerModel.predict() got an unexpected keyword argument 'result_format'
To Reproduce
Expected behavior
No error.
Screenshots
Environment Info
Please run
python scripts/collect_env.py
and paste the output here.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: