Ask the community or our support engineers for answers to questions.
import streamlit as st with st.form("test1"): genre = st.radio("What's your favorite movie genre",('Comedy', 'Drama', 'Documentary')) if genre == 'Comedy': st.write('You selected comedy.') else: st.write("You didn't select comedy.") check_fn=st.form_submit_button("Check_function")
With in form If select the radio buttons the content is not changing . Can you help how to handle this .