79818342

Date: 2025-11-13 00:15:35
Score: 1
Natty:
Report link
# Two buttons in the same line at the sidebar
col1, col2 = st.sidebar.columns(2)
with col1:
    if st.button("➕ Buttom One", type="primary"):
        button_one_function()
with col2:
    if st.button("🧹 Buttom Two", help="help tooltip"):
        st.rerun()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Francisco Cruz