Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,15 @@ def app_design():
|
|
| 20 |
st.subheader("Enter the following values:")
|
| 21 |
|
| 22 |
|
| 23 |
-
season = st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
holiday = st.number_input('Holiday')
|
| 25 |
workingday = st.number_input('Workingday')
|
| 26 |
weather = st.number_input('Weather')
|
|
|
|
| 20 |
st.subheader("Enter the following values:")
|
| 21 |
|
| 22 |
|
| 23 |
+
season = st.selectbox('Season',('Spring', 'Summer', 'Fall','Winter'))
|
| 24 |
+
if season == 'Spring':
|
| 25 |
+
season = 1
|
| 26 |
+
elif season == 'Summer':
|
| 27 |
+
season = 2
|
| 28 |
+
elif season == 'Fall':
|
| 29 |
+
season = 3
|
| 30 |
+
elif season == 'Winter':
|
| 31 |
+
season = 4
|
| 32 |
holiday = st.number_input('Holiday')
|
| 33 |
workingday = st.number_input('Workingday')
|
| 34 |
weather = st.number_input('Weather')
|