Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,14 @@ def predict_churn(Data_Volume, On_Net, Orange,Tigo, Regularity, Freq_Top_Pack, R
|
|
| 69 |
return round(predictions[0][0],3), round(predictions[0][1],3)
|
| 70 |
|
| 71 |
with gr.Blocks() as demo:
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
with gr.Row():
|
| 74 |
Region = gr.Dropdown(label='Region', choices=['DAKAR', 'DIOURBEL', 'FATICK',
|
| 75 |
'KAFFRINE', 'KAOLACK', 'KEDOUGOU',
|
|
|
|
| 69 |
return round(predictions[0][0],3), round(predictions[0][1],3)
|
| 70 |
|
| 71 |
with gr.Blocks() as demo:
|
| 72 |
+
gr.Markdown('''
|
| 73 |
+
# 📞Telecom Customer Churn Prediction App ☎️ ''')
|
| 74 |
+
img=gr.Image('churncss.png')
|
| 75 |
+
gr.Markdown('''
|
| 76 |
+
|
| 77 |
+
## Welcome Cherished User👋
|
| 78 |
+
|
| 79 |
+
### Please Predict Customer Churn 🙂''')
|
| 80 |
with gr.Row():
|
| 81 |
Region = gr.Dropdown(label='Region', choices=['DAKAR', 'DIOURBEL', 'FATICK',
|
| 82 |
'KAFFRINE', 'KAOLACK', 'KEDOUGOU',
|