Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -212,7 +212,7 @@ if st.sidebar.button('Predict Churn'):
|
|
212 |
churn_prob = churn_probability[churn_index]
|
213 |
with col1:
|
214 |
st.success(f"This customer is not likely to churn with a probability of {churn_prob * 100:.2f}% 😀")
|
215 |
-
resized_not_churn_image = Image.open('NotChurn.
|
216 |
resized_not_churn_image = resized_not_churn_image.resize((350, 300)) # Adjust the width and height as desired
|
217 |
st.image(resized_not_churn_image)
|
218 |
# Add suggestions for retaining churned customers in the 'Churn' group
|
|
|
212 |
churn_prob = churn_probability[churn_index]
|
213 |
with col1:
|
214 |
st.success(f"This customer is not likely to churn with a probability of {churn_prob * 100:.2f}% 😀")
|
215 |
+
resized_not_churn_image = Image.open('NotChurn.jpg')
|
216 |
resized_not_churn_image = resized_not_churn_image.resize((350, 300)) # Adjust the width and height as desired
|
217 |
st.image(resized_not_churn_image)
|
218 |
# Add suggestions for retaining churned customers in the 'Churn' group
|