How can I make my streamlit web app faster to run and execute?

I was making a web app using streamlit and while doing heavy computations it seemed to work very slow. how can i make it faster?

Hi @aryan7767, welcome to the Streamlit community!

Do you have a code snippet you can share with us to indicate what you are trying to do? It’s hard to provide any suggestions when we don’t know what the steps of your app are.

Best,
Randy