HOLYBOY commited on
Commit
10d79b3
1 Parent(s): a9c929f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.jpeg')
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