zezkcy commited on
Commit
8bc368c
·
verified ·
1 Parent(s): 53a2bc2

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +6 -6
app.py CHANGED
@@ -29,7 +29,7 @@ NumberOfTrips = st.slider("Number of Trips", 1, 20, 3)
29
  Passport = st.selectbox("Has Passport?", ["Yes", "No"])
30
  PitchSatisfactionScore = st.slider("Pitch Satisfaction Score", 1, 5, 3)
31
  OwnCar = st.selectbox("Owns a Car?", ["Yes", "No"])
32
- NumberOfChildrenVisiting = st.slider("Number of Children Visited", 0, 5, 1)
33
  Designation = st.selectbox("Designation", ["Executive", "Manager", "AVP", "VP", "Sr. Manager"])
34
  MonthlyIncome = st.number_input("Monthly Income", min_value=1000.0, value=30000.0)
35
 
@@ -52,7 +52,7 @@ input_data = pd.DataFrame([{
52
  'Passport': 1 if Passport == "Yes" else 0,
53
  'PitchSatisfactionScore': PitchSatisfactionScore,
54
  'OwnCar': 1 if OwnCar == "Yes" else 0,
55
- 'NumberOfChildrenVisiting': NumberOfChildrenVisiting,
56
  'Designation': Designation,
57
  'MonthlyIncome': MonthlyIncome
58
  }])
 
29
  Passport = st.selectbox("Has Passport?", ["Yes", "No"])
30
  PitchSatisfactionScore = st.slider("Pitch Satisfaction Score", 1, 5, 3)
31
  OwnCar = st.selectbox("Owns a Car?", ["Yes", "No"])
32
+ NumberOfChildrenVisited = st.slider("Number of Children Visited", 0, 5, 1)
33
  Designation = st.selectbox("Designation", ["Executive", "Manager", "AVP", "VP", "Sr. Manager"])
34
  MonthlyIncome = st.number_input("Monthly Income", min_value=1000.0, value=30000.0)
35
 
 
52
  'Passport': 1 if Passport == "Yes" else 0,
53
  'PitchSatisfactionScore': PitchSatisfactionScore,
54
  'OwnCar': 1 if OwnCar == "Yes" else 0,
55
+ 'NumberOfChildrenVisited': NumberOfChildrenVisited,
56
  'Designation': Designation,
57
  'MonthlyIncome': MonthlyIncome
58
  }])
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
  pandas==2.2.2
2
- huggingface_hub==0.23.0
3
- streamlit==1.32.2
4
- joblib==1.3.2
5
- scikit-learn==1.5.0
6
- xgboost==2.0.3
7
- mlflow==2.14.3
 
1
  pandas==2.2.2
2
+ huggingface_hub==0.32.6
3
+ streamlit==1.43.2
4
+ joblib==1.5.1
5
+ scikit-learn==1.6.0
6
+ xgboost==2.1.4
7
+ mlflow==3.0.1