Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ def prediction(report_data):
|
|
| 117 |
response = model_xgb.predict(report_data)
|
| 118 |
if response==1:
|
| 119 |
return 'This customer willing to buy a vehicle insurance'
|
| 120 |
-
|
| 121 |
return 'This customer will not buy a vehicle insurance'
|
| 122 |
|
| 123 |
|
|
|
|
| 117 |
response = model_xgb.predict(report_data)
|
| 118 |
if response==1:
|
| 119 |
return 'This customer willing to buy a vehicle insurance'
|
| 120 |
+
else:
|
| 121 |
return 'This customer will not buy a vehicle insurance'
|
| 122 |
|
| 123 |
|