PrachiRB commited on
Commit
6158e5b
·
verified ·
1 Parent(s): 2acad76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ NumberOfPersonVisiting = st.number_input("Number of Persons Visiting", min_value
20
  NumberOfChildrenVisitingLessThan5Years = st.number_input("Number of Children Visiting (less than 5 years)", min_value=0, max_value=10, value=0)
21
  PreferredPropertyStar = st.number_input("Preferred Property Star", min_value=1, max_value=5, value=3)
22
  AverageNumberOfTripsInAYear = st.number_input("Average Number Of Trips in a Year", min_value=0, max_value=10, value=2)
23
- PassportYesOrNo = st.selectbox("Does the Customer Have a Valid Passport?", ["Yes", "No"])
24
- OwnCarYesOrNo = st.selectbox("Does the Customer Have His/Her Own Car?", ["Yes", "No"])
25
  PitchSatisfactionScore = st.number_input("Pitch Satisfaction Score", min_value=0, max_value=10, value=5)
26
  NumberOfFollowups = st.number_input("Number Of Followups", min_value=0, max_value=10, value=2)
27
  TypeofContact = st.selectbox("Type of Contact", ["Customer Invited", "Self Inquiry"])
 
20
  NumberOfChildrenVisitingLessThan5Years = st.number_input("Number of Children Visiting (less than 5 years)", min_value=0, max_value=10, value=0)
21
  PreferredPropertyStar = st.number_input("Preferred Property Star", min_value=1, max_value=5, value=3)
22
  AverageNumberOfTripsInAYear = st.number_input("Average Number Of Trips in a Year", min_value=0, max_value=10, value=2)
23
+ PassportYesOrNo = st.selectbox("Does the Customer Have a Valid Passport?", ["1", "0"])
24
+ OwnCarYesOrNo = st.selectbox("Does the Customer Have His/Her Own Car?", ["1", "0"])
25
  PitchSatisfactionScore = st.number_input("Pitch Satisfaction Score", min_value=0, max_value=10, value=5)
26
  NumberOfFollowups = st.number_input("Number Of Followups", min_value=0, max_value=10, value=2)
27
  TypeofContact = st.selectbox("Type of Contact", ["Customer Invited", "Self Inquiry"])