saritha5 commited on
Commit
ca9331e
·
1 Parent(s): dc8b9d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -116,9 +116,9 @@ def prediction(report_data):
116
  report_data=scaler.transform(report_data)
117
  response = model_xgb.predict(report_data)
118
  if response==1:
119
- return 'Status of Customer. This customer willing to buy a vehicle insurance')
120
  else:
121
- return 'Status of Customer. This customer will not buy a vehicle insurance')
122
 
123
  y_pred = prediction(user_data)
124
 
 
116
  report_data=scaler.transform(report_data)
117
  response = model_xgb.predict(report_data)
118
  if response==1:
119
+ return 'Status of Customer. This customer willing to buy a vehicle insurance'
120
  else:
121
+ return 'Status of Customer. This customer will not buy a vehicle insurance'
122
 
123
  y_pred = prediction(user_data)
124