match role_kind:
case st.session_state.locale.radio_text1:
c2.selectbox(label=st.session_state.locale.select_placeholder2, key="role",
options=st.session_state.locale.ai_role_options)
case st.session_state.locale.radio_text2:
c2.text_input(label=st.session_state.locale.select_placeholder3, key="role")
Streamlit works fine with Python 3.11, Streamlit Cloud doesnβt. The relevant syntax hasnβt changed from 3.10 to 3.11, the error message is exactly the same with both versions.