Found some issues when I used streamlit for the first time

HI @HimanshuMoliya, welcome to the Streamlit community!

This is how the Streamlit execution model works. I talk more about this here:

Can you be more specific about what your issue is? What is preventing you from doing what you want?

This isn’t necessarily the case, but of course it all depends on the behavior you are trying to achieve. Can you link to your code so that we can take a look?

Best,
Randy