pr3n3y commited on
Commit
b8a4e05
1 Parent(s): 37c2fb1

Add application file

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def greeting(name):
4
+ st.write(f"Hello, {name}!")
5
+
6
+ st.title("My first Streamlit app")
7
+ st.text("This is a simple app that greets the user.")
8
+
9
+ name = st.text_input("What is your name?")
10
+
11
+ if name:
12
+ greeting(name)