Can I clear the "Message" at will in my app?

Hi. I’ve deployed my app in streamlit.io. I upload a 100MB file and display a heatmap.
After a couple of files were uploaded I get the MessageSize error. After a couple more, it crashes with the “Oh, no!” banner.

Is there a way to manually “clear” that Message each time I upload a file to avoid overflowing it? I prefer to avoid changing the server.maxMessageSize.

Thanks in advance!

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