Configuration
This configuration allows WATcycle to handle larger NetCDF file uploads by increasing Streamlit's default file size limits.
How to Configure Streamlit Upload Size
Create
.streamlit
Folder Open File Explorer:C: → Users → [Your Username]
Create a folder named.streamlit
(If not allowed, open Command Prompt and run:)mkdir .streamlit
Add
config.toml
File Copy theconfig.toml
from your WATcycle folder into the.streamlit
folder.Edit
config.toml
Right-click the file → Open with Notepad → Paste this:[server] maxUploadSize = 1000 # Size in MB (e.g., 1000 = 1 GB)
➤ Edit the number to increase or decrease the upload limit as needed.
Save the file and restart your Streamlit app.
Last updated