Mummia-99 commited on
Commit
2c60263
·
verified ·
1 Parent(s): 3b6385c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -86,11 +86,11 @@ if st.button("Submit"):
86
 
87
  prediction = bank_model.predict([[credit_score, geography_value, gender_value, age, tenure, balance, e_salary, active_holder_value]])[0]
88
 
89
- st.write(prediction)
90
  # Define messages and colors
91
  review_status = {
92
- 1: ("✅ The Customer is Interseted in our Bank", "#32CD32"), # Green
93
- 0: ("❌ The Customer is Not Interseted in our Bank", "#FF4500") # Red-Orange
94
  }
95
 
96
  # Get message and color based on prediction
 
86
 
87
  prediction = bank_model.predict([[credit_score, geography_value, gender_value, age, tenure, balance, e_salary, active_holder_value]])[0]
88
 
89
+
90
  # Define messages and colors
91
  review_status = {
92
+ 0: ("✅ The Customer is Interseted in our Bank", "#32CD32"), # Green
93
+ 1: ("❌ The Customer is Not Interseted in our Bank", "#FF4500") # Red-Orange
94
  }
95
 
96
  # Get message and color based on prediction