MVesalA commited on
Commit
34beff7
1 Parent(s): a57647d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,16 +12,16 @@ 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)
27
 
 
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", ['Fiber optic', 'DSL', '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", ['Two year', 'One year', 'Month-to-month'])
23
  PaperlessBilling = st.sidebar.selectbox("PaperlessBilling", ['No', 'Yes'])
24
+ PaymentMethod = st.selectbox("PaymentMethod", ['Credit card (automatic)', 'Electronic check', 'Mailed check', 'Bank transfer (automatic)'])
25
  MonthlyCharges = st.slider("MonthlyCharges", 0, 1000)
26
  TotalCharges = st.slider("TotalCharges", 0, 10000)
27