Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -34,6 +34,11 @@ OwnCar = st.selectbox("Own Car", ["Yes", "No"])
|
|
| 34 |
NumberOfChildrenVisiting = st.number_input("Number of children visiting", min_value=0, max_value=5, value=0, step=1)
|
| 35 |
Designation = st.selectbox("Designation", ["Manager", "Executive", "Senior Manager", "VP"])
|
| 36 |
MonthlyIncome = st.number_input("Monthly Income", min_value=0, max_value=100000, value=50000, step=100)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
|
| 39 |
# Assemble input into DataFrame
|
|
@@ -41,13 +46,17 @@ input_data = pd.DataFrame([{
|
|
| 41 |
'Age': Age,
|
| 42 |
'TypeofContact': TypeofContact,
|
| 43 |
'CityTier': CityTier,
|
|
|
|
| 44 |
'Occupation': Occupation,
|
| 45 |
'Gender': Gender,
|
| 46 |
'NumberOfPersonVisiting': NumberOfPersonVisiting,
|
|
|
|
|
|
|
| 47 |
'PreferredPropertyStar': PreferredPropertyStar,
|
| 48 |
'MaritalStatus': MaritalStatus,
|
| 49 |
'NumberOfTrips': NumberOfTrips,
|
| 50 |
'Passport': Passport,
|
|
|
|
| 51 |
'OwnCar': OwnCar,
|
| 52 |
'NumberOfChildrenVisiting': NumberOfChildrenVisiting,
|
| 53 |
'Designation': Designation,
|
|
|
|
| 34 |
NumberOfChildrenVisiting = st.number_input("Number of children visiting", min_value=0, max_value=5, value=0, step=1)
|
| 35 |
Designation = st.selectbox("Designation", ["Manager", "Executive", "Senior Manager", "VP"])
|
| 36 |
MonthlyIncome = st.number_input("Monthly Income", min_value=0, max_value=100000, value=50000, step=100)
|
| 37 |
+
PitchSatisfactionScore = st.number_input("Pitch Satisfaction Score", min_value=1, max_value=5, value=3, step=1)
|
| 38 |
+
NumberOfFollowups = st.number_input("Number of Followups", min_value=1, max_value=10, value=2, step=1)
|
| 39 |
+
DurationOfPitch = st.number_input("Duration of Pitch", min_value=1, max_value=100, value=30, step=1)
|
| 40 |
+
ProductPitched = st.selectbox("Product Pitched", ["Basic", "Deluxe", "Standard","Super Deluxe", "King"])
|
| 41 |
+
|
| 42 |
|
| 43 |
|
| 44 |
# Assemble input into DataFrame
|
|
|
|
| 46 |
'Age': Age,
|
| 47 |
'TypeofContact': TypeofContact,
|
| 48 |
'CityTier': CityTier,
|
| 49 |
+
'DurationOfPitch': DurationOfPitch,
|
| 50 |
'Occupation': Occupation,
|
| 51 |
'Gender': Gender,
|
| 52 |
'NumberOfPersonVisiting': NumberOfPersonVisiting,
|
| 53 |
+
'NumberOfFollowups': NumberOfFollowups,
|
| 54 |
+
'ProductPitched': ProductPitched,
|
| 55 |
'PreferredPropertyStar': PreferredPropertyStar,
|
| 56 |
'MaritalStatus': MaritalStatus,
|
| 57 |
'NumberOfTrips': NumberOfTrips,
|
| 58 |
'Passport': Passport,
|
| 59 |
+
'PitchSatisfactionScore': PitchSatisfactionScore,
|
| 60 |
'OwnCar': OwnCar,
|
| 61 |
'NumberOfChildrenVisiting': NumberOfChildrenVisiting,
|
| 62 |
'Designation': Designation,
|