create three buttons in a single line
To upload files, please first save the app
import streamlit as st
st.title('Three Buttons Inline')
# Create three buttons in a row
left, middle, right = st.columns(3)
if left.button('Button 1'):
st.write('Button 1 clicked')
if middle.button('Button 2'):
st.write('Button 2 clicked')
if right.button('Button 3'):
st.write('Button 3 clicked')
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?