How to update page file without reloading modules?

Hi @xzhu43

It seems the app is a computationally intensive one that may require some additional architecting to have it run quickly.

I learned from @asehmi that such app may be built by separating the compute intensive part by leveraging a FastAPI backend and a Streamlit frontend

A relevant thread:

A tutorial blog:

1 Like