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

Issue with File Upload Size Limit in stlite #1203

Open
elloza opened this issue Dec 18, 2024 · 0 comments
Open

Issue with File Upload Size Limit in stlite #1203

elloza opened this issue Dec 18, 2024 · 0 comments

Comments

@elloza
Copy link

elloza commented Dec 18, 2024

Hello,

I am trying to upload a file larger than 3GB using a component in stlite. While this works perfectly in Streamlit, attempting the same in stlite results in the following error:

NotReadableError: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired

I am unsure if this is a limitation of stlite or an error on my part.

To handle large files, I added the following configuration in the stlite mount:

streamlitConfig: {
    "server.maxUploadSize": "5000",
},

Thank you for your help, and congratulations on such an amazing project!

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