Why can't the dataset be bigger than 50.00MB?

I have a really nice dataset that is 63mb but i cant run the code with “streamlit run /…/…/…/…”

If you want to use bigger datasets, change the following line in the streamlit library code.

/streamlit/server/server_util.py ‘’ → MESSAGE_SIZE_LIMIT = 50 * int(1e6) # 50MB to a bigger value

Or in newer streamlit versions: server.maxMessageSize

1 Like

Please only use this, maintaining your own fork of the source code with changes is generally a bad idea.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.