You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To verify, you need to run parallel mode and send a pdf file with the
correct mimetype but a wrong file extension.
On main, start the server in parallel mode and confirm the bug happens:
```
export UNSTRUCTURED_PARALLEL_MODE_ENABLED=true
export UNSTRUCTURED_PARALLEL_MODE_URL=http://localhost:8000/general/v0/general
make run-web-app
```
In a python shell:
```
import requests
with open("sample-docs/layout-parser-paper.pdf", "rb") as f:
res = requests.post("http://localhost:8000/general/v0/general",
files={"files": ("foo.txt", f, "application/pdf")})
# Should be Internal server error
print(res.text)
```
Then try again on this branch.
Also, removed logging of the request object, which just displays an
object reference next to the params.
0 commit comments