Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -204,7 +204,7 @@ if st.sidebar.button('Predict Churn'):
|
|
| 204 |
churn_prob = churn_probability[churn_index]
|
| 205 |
with col1:
|
| 206 |
st.success(f"This customer is a loyal (not churn) with a probability of {churn_prob * 100:.2f}% 😀")
|
| 207 |
-
resized_not_churn_image = Image.open('NotChurn.
|
| 208 |
resized_not_churn_image = resized_not_churn_image.resize((350, 300)) # Adjust the width and height as desired
|
| 209 |
st.image(resized_not_churn_image)
|
| 210 |
# Add suggestions for retaining churned customers in the 'Churn' group
|
|
|
|
| 204 |
churn_prob = churn_probability[churn_index]
|
| 205 |
with col1:
|
| 206 |
st.success(f"This customer is a loyal (not churn) with a probability of {churn_prob * 100:.2f}% 😀")
|
| 207 |
+
resized_not_churn_image = Image.open('NotChurn.png')
|
| 208 |
resized_not_churn_image = resized_not_churn_image.resize((350, 300)) # Adjust the width and height as desired
|
| 209 |
st.image(resized_not_churn_image)
|
| 210 |
# Add suggestions for retaining churned customers in the 'Churn' group
|