I’ve deployed a streamlit app through github, however I am tring to increase the 200 MB limit of the drag-and-drop. I’ve tried “streamlit run app.py – server.maxUploadSize=400”, however that only works when I run the app from the terminal, and not when I deploy the app.
If streamlit is not the right framework/tool for supporting a dashboard app of data +200MB, please let me know which tool is recommended!
When deploying your app, you’ll want to set the maxUploadSize config option in a .streamlit/config.toml file uploaded to your GitHub repo containing the following:
[server]
maxUploadSize = 400
Once you create the .streamlit/config file with the above contents, the upload limit of st.file_uploader per file should be set to 400 MB.
Hi, thank you for responding. I’ve created the config.toml file and when I run it locally, my upload size is up-to-date (400). However, I soon as I deploy it through github, the MB goes back to 200.
I created a .streamlit folder with the config.toml file in github and git pulled/pushed from the terminal of my app.
I’d suggest deleting the app and redeploying it. When I deploy a fork of your repo, the file uploader widget picks up the 500MB limit from .streamlit/config.toml.