Skip to content

Instantly share code, notes, and snippets.

@quickcode00
Created September 5, 2021 17:44
Show Gist options
  • Save quickcode00/281004509824c6f243d3661fadda3a03 to your computer and use it in GitHub Desktop.
Save quickcode00/281004509824c6f243d3661fadda3a03 to your computer and use it in GitHub Desktop.
import streamlit as st
name = st.text_input('Enter Name')
if not name:
name = 'World'
st.write(f'Hello {name}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment