How to limit max upload size on

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 --server.maxUploadSize=10” , but I want to do it on

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:


Hope it does the trick
Fanilo :balloon:

1 Like