Name: unstructured-inference Version: 0.2.8 Summary: A library for performing inference using trained models. Home-page: https://github.com/Unstructured-IO/unstructured-inference Author: Unstructured Technologies Author-email: devops@unstructuredai.io License: Apache-2.0 Location: /Users/niluk/mambaforge/lib/python3.10/site-packages Requires: fastapi, huggingface-hub, layoutparser, onnxruntime, opencv-python, python-multipart, transformers, uvicorn Required-by
pip install unstructured-inference==0.2.7
would fix the issue. A similar issue (but seemingly rare) for 0.2.8 was also recently observed -- we'll release a new version of the unstuctured
package shortly that pins the dependency appropriately.unstructured-inference==0.2.8
(i killed it after 30 mins).pip install "unstructured[local-inference]" pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2"
unstructured-inference==0.2.7
pinned, and another test confirms the doc processes in ~10 mins..to_dict()
to get all it's fields, including type. E.g.: https://gist.github.com/cragwolfe/1d432c6c8597d007efc10bf29f09bed1