LethallyHealthy commited on
Commit
ba26d4e
·
1 Parent(s): aad4cf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -42,4 +42,16 @@ if st.button("Calculate"):
42
  results = predictor.make_a_prediction(data)
43
  print(results)
44
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
 
42
  results = predictor.make_a_prediction(data)
43
  print(results)
44
 
45
+ add_selectbox = st.sidebar.selectbox(
46
+ "How would you like to be contacted?",
47
+ ("Email", "Home phone", "Mobile phone")
48
+ )
49
+
50
+ # Using "with" notation
51
+ with st.sidebar:
52
+ add_radio = st.radio(
53
+ "Choose a shipping method",
54
+ ("Standard (5-15 days)", "Express (2-5 days)")
55
+ )
56
+
57