Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ def predict_insurance_charge(age, bmi, children, sex, smoker, region):
|
|
| 86 |
))
|
| 87 |
f.write("\n")
|
| 88 |
|
| 89 |
-
prediction_result = prediction[0][0][0]
|
| 90 |
print(f"\nDebug - Prediction result: {prediction_result} - {type(prediction_result)}\n")
|
| 91 |
return prediction_result
|
| 92 |
|
|
|
|
| 86 |
))
|
| 87 |
f.write("\n")
|
| 88 |
|
| 89 |
+
prediction_result = prediction[0][0][0]
|
| 90 |
print(f"\nDebug - Prediction result: {prediction_result} - {type(prediction_result)}\n")
|
| 91 |
return prediction_result
|
| 92 |
|