There has got to be a simple way to show two items, side-by-side, in a single st.column. I just can’t figure it out!
Snippet:
if json_content:
json_data = json.loads(json_content)
feedback = {}
for key, value in json_data.items():
col3, col4, col5 = st.columns(3)
with col3:
st.markdown(f"**{key}**:")
with col4:
st.markdown(f"{value}")
with col5:
thumbs_down_key = f"thumbs_down_{key}"
thumbs_up_key = f"thumbs_up_{key}"
thumbs_down_button = st.button("👎", thumbs_down_key)
thumbs_up_button = st.button("👍", thumbs_up_key)
Can someone assist?
Thank you!