Streamlit application multithreaded by default, but not synchronized
I am making a streamlit application, which is a chatbot, that should refer to a list of chat messages.
For this purpose, I have stored the those chat messages in a variable “messages” in the session variables, so that it is not lost when the page is rerun.