louiecerv commited on
Commit
4e7fac7
·
1 Parent(s): ac770e6

save all changes

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -0
  2. simpleapp1.py +13 -0
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ streamlit
simpleapp1.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()