rag-as-a-service-with-vision
rag-as-a-service-with-vision copied to clipboard
issue in "text_only_sample"
This issue is for a:
[ ] bug report -> please search issues before submitting
[ ] feature request
[ ] documentation issue or request
[x] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
When I run main.py in the api folder, the port connects successfully. However, when I execute main.py from the eval folder, it throws a "500 Internal Server Error"a nd the terminal output in the api directory shows the following error: AttributeError: 'lxml.etree._ProcessingInstruction' object has no attribute 'is_phrasing'
Any log messages given by the failure
AttributeError: 'lxml.etree._ProcessingInstruction' object has no attribute 'is_phrasing'
Expected/desired behavior
I updated the unstructured library to version 0.15.9 due to issues with the old version, when running the requirements file in the api folder. However, after updating, the text-only sample raw files fail to process and throw the error, while the vision_and_text_sample raw files work correctly and produce output in the output folder.
OS
macOS