-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why for :{"detail":"Review the parameters to initialize a UnstructuredTableTransformerModel obj"} #379
Comments
Hi there - this may be a bug with our api docker image. Can you let me know what endpoint you're calling? The freemium (api.unstructured.io) or a paid SaaS url? Please include a minimal working example of your client code as well. |
@J2DOG - If you're still having this issue, could you provide client code to reproduce? This may be fixed in a more recent version of the API. |
as same when i run "docker run -p 8009:8000 -d --rm --name unstructured-api downloads.unstructured.io/unstructured-io/unstructured-api:latest --port 8000 --host 0.0.0.0" and "curl -X 'POST' 'http://localhost:8009/general/v0/general' -H 'accept: application/json' -H 'Content-Type: multipart/form-data' -F 'strategy=hi_res' -F 'languages=eng' -F '[email protected]' | jq -C . | less -R > a.json" |
@MthwRobinson @awalker4 I'm having the same issue with downloads.unstructured.io/unstructured-io/unstructured-api:latest
|
# Cache table-transformer-structure-recognition model
RUN python -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='microsoft/table-transformer-structure-recognition', filename='config.json');" |
I encountered the same issue, and it seemed to be an error when downloading "microsoft/table-transformer-structure-recognition" from Hugging Face. I resolved it after switching to a different VPN line. |
Describe the bug
Defult mode is OK, but when i try to set hi_res mode!!!
it turns to :{"detail":"Review the parameters to initialize a UnstructuredTableTransformerModel obj"}
it runs in a local Unstructured-api docker image.
headers = {
'accept': 'application/json',
}
data = {
'strategy': 'hi_res',
# 'pdf_infer_table_structure': 'true',
# 'strategy': 'ocr_only',
}
The text was updated successfully, but these errors were encountered: