Hey @acidic_ph, welcome to the forums
Iโve answered a similar question here using another version of the State hack that the one you found on the earlier posts. There are multiple versions that work for different Streamlit versions given how fast it evolves, so itโs sometimes hard to track the one for you