hidevscommunity commited on
Commit
15303b3
·
verified ·
1 Parent(s): fb7589e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -20,7 +20,15 @@ def app_design():
20
  st.subheader("Enter the following values:")
21
 
22
 
23
- season = st.number_input('Season')
 
 
 
 
 
 
 
 
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')