How can I switch toggle value if there is a session state variable?

I want to make st.toggle “turn on” when st.session_state.korean_mode=1. How do I do this?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.