When I try to use st.write, I am getting tuple object is not callable. I was not getting this error before, but surprisingly this error started to appear. By the way I’m using the latest version of streamlit. I have inserted the error.
I think I found the reason. An error in any page of your multipage app is affecting other pages too. I just removed one page that includes too many things and then the problem is solved.