Skip to content
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

Image size limit #1

Open
bluedoors opened this issue Mar 12, 2024 · 0 comments
Open

Image size limit #1

bluedoors opened this issue Mar 12, 2024 · 0 comments

Comments

@bluedoors
Copy link

The Streamlit application suggest files of up to 200MB can be uploaded. However the image is subsequently sent to api-gateway to Rekognition for label detection and therefore the api-gateway payload size is limited to 10MB causing files larger than that to return an HTTP 413. There is also no error handling on the api-gateway request so it manifests itself as a stack trace "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)" on the reponse.json() call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant