How to use st.beta_columns with st.empty

I’d like to put two checkboxes side-by-side, and when the user clicks one replace them with two new checkboxes.

For similar behavior in the past I have used box = st.empty() and then box.checkbox(‘yes’)
Now I would like to make two side by side ‘yes’ and ‘no’