First of all, huge thank you for the incredible work here.
I have a problem I’m sure you can help:
Using a json from an API call file loaded in pandas to create a DataFrame.
All work fine, data is loaded, sliders and textbox created, DataFrame displayed, calculations and graphs.
But, when the user makes a change in any of the sliders, the page resets to the initial state, only user textboxes, labels, markdown, and buttons are displayed and all data loaded is lost.
Without seeing code, unfortunately, you can only guess…
I would possibly use the @streamlit.cache decorator for your api load function, as long as the data from the api only needs to be loaded once when your streamlit app is called.