sanjayshenvekar commited on
Commit
586d470
·
verified ·
1 Parent(s): b9c12dc

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ pip install streamlit
2
+ import streamlit as st
3
+
4
+ # Set the title of the app
5
+ st.title("Welcome to My Streamlit App")
6
+
7
+ # Add a text input widget
8
+ name = st.text_input("Sanjay Shenvekar:")
9
+
10
+ # Display a personalized greeting if a name is entered
11
+ if name:
12
+ st.write(f"Hello, {name}! Welcome to the app.")
13
+ else:
14
+ st.write("Please enter your name to receive a personalized greeting.")