My st.slider is not retaining its filter state?

Hi team,
This is my first discussion on the streamlit forum.
I am running a live dashboard for my company on the AWS server. And in that when I filter my data using the slider then I dont get the value as expected. The slider resets to its original value. Where as if I use st.cahe_data() in my functions which is basically placed on top of function which loads the data from database, which has nothing to do with the slider; then slider is working fine. I have attached a video of the problem. Please suggest me what am I missing?

scrnli_23_02_2024_12-44-34 MConverter.eu (1)

1 Like

There may be a bug in your code.

2 Likes

Everything seems to be okay in my code.

1 Like