Hi,
I have the following streamlit architecture:
- File uploader
- Button
2.1 selectbox
The problem is when I change de index of the selectbox the computations start from the beginning, how could I do to avoid this situation?
Thanks
Hi,
I have the following streamlit architecture:
The problem is when I change de index of the selectbox the computations start from the beginning, how could I do to avoid this situation?
Thanks
Hi, streamlit has a concept of session.state (please refer here)
Additionaly, there is a great video from @andfanilo about keeping state of the buttons and nesting them