Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,12 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
# Using object notation
|
| 4 |
add_selectbox = st.sidebar.selectbox(
|
| 5 |
"How would you like to be contacted?",
|
| 6 |
-
("Email", "Home phone", "Mobile phone")
|
| 7 |
)
|
| 8 |
|
| 9 |
-
# Using "with" notation
|
| 10 |
with st.sidebar:
|
| 11 |
add_radio = st.radio(
|
| 12 |
-
"
|
| 13 |
-
("
|
| 14 |
)
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
|
|
|
| 3 |
add_selectbox = st.sidebar.selectbox(
|
| 4 |
"How would you like to be contacted?",
|
| 5 |
+
("Email", "Home phone", "Mobile phone","Text Message")
|
| 6 |
)
|
| 7 |
|
|
|
|
| 8 |
with st.sidebar:
|
| 9 |
add_radio = st.radio(
|
| 10 |
+
"What days are you available",
|
| 11 |
+
("Monday", "Tuesday","Wednesday","Thursday", "Friday","Saturday","Sunday")
|
| 12 |
)
|