Spaces:
Sleeping
Sleeping
Commit
·
beb1407
1
Parent(s):
ac59594
Telco Churn Gradio App
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ OnlineBackup = gr.Radio(choices=['Yes', 'No', 'None'], label="Online Backup : Wh
|
|
85 |
DeviceProtection = gr.Radio(choices=['Yes', 'No'], label="Device Protection : Whether the customer has device protection service.")
|
86 |
TechSupport = gr.Radio(choices=['Yes', 'No'], label="Tech Support : Whether the customer has tech support service.")
|
87 |
StreamingTV = gr.Radio(choices=['Yes', 'No'], label="Streaming TV : Whether the customer uses streaming TV service.")
|
88 |
-
SeniorCitizen = gr.Radio(choices=[0, 1], label='Senior Citizen : Whether the customer is a senior citizen.')
|
89 |
StreamingMovies = gr.Radio(choices=['Yes', 'No'], label="Streaming Movies : Whether the customer uses streaming movies service.")
|
90 |
|
91 |
#
|
@@ -98,5 +98,5 @@ gr.Interface(inputs=[SeniorCitizen, Tenure, MonthlyCharges, TotalCharges,
|
|
98 |
fn=predict_churn,
|
99 |
title=" Teleco Services Customer Churn Prediction",
|
100 |
description="This model predicts whether a customer will churn or stay with the telecom service based on various input features",
|
101 |
-
).launch(inbrowser=True, show_error=True
|
102 |
|
|
|
85 |
DeviceProtection = gr.Radio(choices=['Yes', 'No'], label="Device Protection : Whether the customer has device protection service.")
|
86 |
TechSupport = gr.Radio(choices=['Yes', 'No'], label="Tech Support : Whether the customer has tech support service.")
|
87 |
StreamingTV = gr.Radio(choices=['Yes', 'No'], label="Streaming TV : Whether the customer uses streaming TV service.")
|
88 |
+
SeniorCitizen = gr.Radio(choices=[0, 1], label='Senior Citizen : Whether the customer is a senior citizen(0 for No and 1 For Yes).')
|
89 |
StreamingMovies = gr.Radio(choices=['Yes', 'No'], label="Streaming Movies : Whether the customer uses streaming movies service.")
|
90 |
|
91 |
#
|
|
|
98 |
fn=predict_churn,
|
99 |
title=" Teleco Services Customer Churn Prediction",
|
100 |
description="This model predicts whether a customer will churn or stay with the telecom service based on various input features",
|
101 |
+
).launch(inbrowser=True, show_error=True)
|
102 |
|