K0RB1 commited on
Commit
2123f13
·
verified ·
1 Parent(s): bb1f9d6

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def main():
4
+ st.title("Mood Checker")
5
+
6
+ name = st.text_input("What's your name?")
7
+ mood = st.selectbox("How are you feeling today?", ("Happy", "Sad", "Angry", "Excited", "Bored"))
8
+
9
+ if st.button("submit"):
10
+ st.write(f"Hello, {name}! You're feeling {mood}.")
11
+
12
+ if __name__ == "__main__":
13
+ main()