Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|