Amanda Cameron
|
e359afafbe
|
fix: coordinates bug on pdf parsing (#1462)
Addresses: https://github.com/Unstructured-IO/unstructured/issues/1460
We were raising an error with invalid coordinates, which prevented us
from continuing to return the element and continue parsing the pdf. Now
instead of raising the error we'll return early.
to test:
```
from unstructured.partition.auto import partition
elements = partition(url='https://www.apple.com/environment/pdf/Apple_Environmental_Progress_Report_2022.pdf', strategy="fast")
```
---------
Co-authored-by: cragwolfe <crag@unstructured.io>
|
2023-09-19 19:25:31 -07:00 |
|