ValueError: The fast strategy is not available for image files.
(28 additional frame(s) were not displayed)
...
File "unstructured/file_utils/filetype.py", line 546, in wrapper
elements = func(*args, **kwargs)
File "unstructured/chunking/title.py", line 241, in wrapper
elements = func(*args, **kwargs)
File "unstructured/partition/image.py", line 83, in partition_image
return partition_pdf_or_image(
File "unstructured/partition/pdf.py", line 238, in partition_pdf_or_image
validate_strategy(strategy, is_image)
File "unstructured/partition/strategies.py", line 22, in validate_strategy
raise ValueError("The fast strategy is not available for image files.")
This is raised from the library and just needs to be wrapped in HTTPError.
Sentry Issue: UNSTRUCTURED-API-B8
This is raised from the library and just needs to be wrapped in HTTPError.