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

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.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
 
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.png')
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