ababio commited on
Commit
bccc15c
1 Parent(s): d424b25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -4
app.py CHANGED
@@ -96,11 +96,20 @@ st.write(':sunglasses: :smile: :angry: :disappointed: :fearful: :rage: :weary:
96
  # user_input = st.text_input(label="sample", value=sample_text, label_visibility="hidden")
97
  # else:
98
 
99
- option = st.selectbox(
100
- "How would you like to be contacted?",
101
- ("i hate that food", "happy day", "Mobile phone"))
102
 
103
- st.write("You selected:", option)
 
 
 
 
 
 
 
 
 
104
 
105
  user_input = ""
106
  if option:
 
96
  # user_input = st.text_input(label="sample", value=sample_text, label_visibility="hidden")
97
  # else:
98
 
99
+ # option = st.selectbox(
100
+ # "How would you like to be contacted?",
101
+ # ("i hate that food", "happy day", "Mobile phone"))
102
 
103
+ # st.write("You selected:", option)
104
+
105
+ option = ""
106
+ village = st.checkbox("Small village")
107
+ life = st.checkbox("Entire life")
108
+
109
+ if village:
110
+ option = "Once, in a small village nestled in the rolling hills of Tuscany, lived an elderly woman named Isabella."
111
+ elif life:
112
+ option = "Once, in a small village nestled in the rolling hills of Tuscany, lived an elderly woman named Isabella."
113
 
114
  user_input = ""
115
  if option: