mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-17 14:05:54 +00:00

Fix TypeError: string indices must be integers. The `annotation_dict` variable is conditioned to be `None` if instance type is not dict. Then we add logic to skip the attempt if the value is `None`.