Skip to content

Instantly share code, notes, and snippets.

@rian-dolphin
Created May 27, 2022 13:14
Show Gist options
  • Save rian-dolphin/e99136242ecb07121c99d3814d80427f to your computer and use it in GitHub Desktop.
Save rian-dolphin/e99136242ecb07121c99d3814d80427f to your computer and use it in GitHub Desktop.
# -- Create three columns
col1, col2, col3 = st.columns([5, 5, 20])
# -- Put the image in the middle column
# - Commented out here so that the file will run without having the image downloaded
# with col2:
# st.image("streamlit.png", width=200)
# -- Put the title in the last column
with col3:
st.title("Streamlit Demo")
# -- We use the first column here as a dummy to add a space to the left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment