How to limit max upload size on share.streamlit.io?

Hello,
I am deploying one of my apps onto streamlit sharing but I need to limit max upload size. I know it is done through “streamlit run app.py --server.maxUploadSize=10” , but I want to do it on share.streamlit.io

Any thoughts?

Hey @Vishvesh_Bhat ,

From the 2. point of Streamlit configuration — Streamlit 0.86.0 documentation, you can set up your configuration options within a .streamlit/config.toml file at the root of your project with the following content:

[server]
maxUploadSize=10

Hope it does the trick
Fanilo :balloon:

1 Like