I am wanting to develop a streamlit app that will allow me to operate on the following workflow -
- Load data from a DB
- Tweak ML parameters and re run the model to see changes interactively
- Repeat 2 as necessary
- Save the parameters and data back out to the DB
I have a streamlit app that can do 2 and 3, but i’m not sure how to work steps 1 and 4. Since the app will re-execute from top to bottom? I imagine that the cache system could help here, but it seems that is more meant for optimizing the tweak and re-run cycle than for allowing read/writes to an external storage site.
Thank you in advance!