File size: 380 Bytes
586d470
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pip install streamlit
import streamlit as st

# Set the title of the app
st.title("Welcome to My Streamlit App")

# Add a text input widget
name = st.text_input("Sanjay Shenvekar:")

# Display a personalized greeting if a name is entered
if name:
    st.write(f"Hello, {name}! Welcome to the app.")
else:
    st.write("Please enter your name to receive a personalized greeting.")