HOLYBOY commited on
Commit
79ef551
1 Parent(s): 79fd1cf

Update app.py

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