MVesalA commited on
Commit
a57647d
1 Parent(s): df93293

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -7,20 +7,20 @@ model = joblib.load('Churn_PredCls.joblib')
7
 
8
  gender = st.selectbox("Choose sex", ['Male', 'Female'])
9
  SeniorCitizen = st.sidebar.selectbox("SeniorCitizen", ['Yes', 'No'])
10
- Partner = st.sidebar.selectbox("Does he/she have partner?", ['Yes', 'No'])
11
  Dependents = st.sidebar.selectbox("Dependents", ['Yes', 'No'])
12
  tenure = st.slider("Choose tenure", 0, 100)
13
- PhoneService = st.sidebar.selectbox("PhoneService", ['Yes', 'No'])
14
  MultipleLines = st.sidebar.selectbox("MultipleLines", ['Yes', 'No'])
15
  InternetService = st.selectbox("InternetService", ['DSL', 'Fiber optic', 'No'])
16
- OnlineSecurity = st.sidebar.selectbox("OnlineSecurity", ['Yes', 'No'])
17
  OnlineBackup = st.sidebar.selectbox("OnlineBackup", ['Yes', 'No'])
18
- DeviceProtection = st.sidebar.selectbox("DeviceProtection", ['Yes', 'No'])
19
  TechSupport = st.sidebar.selectbox("TechSupport", ['Yes', 'No'])
20
- StreamingTV = st.sidebar.selectbox("StreamingTV", ['Yes', 'No'])
21
  StreamingMovies = st.sidebar.selectbox("StreamingMovies", ['Yes', 'No'])
22
  Contract = st.selectbox("Contract", ['Month-to-month', 'One year', 'Two year'])
23
- PaperlessBilling = st.sidebar.selectbox("PaperlessBilling", ['Yes', 'No'])
24
  PaymentMethod = st.selectbox("PaymentMethod", ['Electronic check', 'Mailed check', 'Bank transfer (automatic)', 'Credit card (automatic)'])
25
  MonthlyCharges = st.slider("MonthlyCharges", 0, 1000)
26
  TotalCharges = st.slider("TotalCharges", 0, 10000)
 
7
 
8
  gender = st.selectbox("Choose sex", ['Male', 'Female'])
9
  SeniorCitizen = st.sidebar.selectbox("SeniorCitizen", ['Yes', 'No'])
10
+ Partner = st.sidebar.selectbox("Does he/she have partner?", ['No', 'Yes'])
11
  Dependents = st.sidebar.selectbox("Dependents", ['Yes', 'No'])
12
  tenure = st.slider("Choose tenure", 0, 100)
13
+ PhoneService = st.sidebar.selectbox("PhoneService", ['No', 'Yes'])
14
  MultipleLines = st.sidebar.selectbox("MultipleLines", ['Yes', 'No'])
15
  InternetService = st.selectbox("InternetService", ['DSL', 'Fiber optic', 'No'])
16
+ OnlineSecurity = st.sidebar.selectbox("OnlineSecurity", ['No', 'Yes'])
17
  OnlineBackup = st.sidebar.selectbox("OnlineBackup", ['Yes', 'No'])
18
+ DeviceProtection = st.sidebar.selectbox("DeviceProtection", ['No', 'Yes'])
19
  TechSupport = st.sidebar.selectbox("TechSupport", ['Yes', 'No'])
20
+ StreamingTV = st.sidebar.selectbox("StreamingTV", ['No', 'Yes'])
21
  StreamingMovies = st.sidebar.selectbox("StreamingMovies", ['Yes', 'No'])
22
  Contract = st.selectbox("Contract", ['Month-to-month', 'One year', 'Two year'])
23
+ PaperlessBilling = st.sidebar.selectbox("PaperlessBilling", ['No', 'Yes'])
24
  PaymentMethod = st.selectbox("PaymentMethod", ['Electronic check', 'Mailed check', 'Bank transfer (automatic)', 'Credit card (automatic)'])
25
  MonthlyCharges = st.slider("MonthlyCharges", 0, 1000)
26
  TotalCharges = st.slider("TotalCharges", 0, 10000)