Upload app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def predict_insurance_charge(age,sex,bmi,children,smoker,region):
|
|
| 48 |
}
|
| 49 |
|
| 50 |
data_point = pd.DataFrame([sample])
|
| 51 |
-
prediction = Insurance_charge_predictor(data_point).tolist()
|
| 52 |
|
| 53 |
# While the prediction is made, log both the inputs and outputs to a log file
|
| 54 |
# While writing to the log file, ensure that the commit scheduler is locked to avoid parallel
|
|
|
|
| 48 |
}
|
| 49 |
|
| 50 |
data_point = pd.DataFrame([sample])
|
| 51 |
+
prediction = Insurance_charge_predictor.predict(data_point).tolist()
|
| 52 |
|
| 53 |
# While the prediction is made, log both the inputs and outputs to a log file
|
| 54 |
# While writing to the log file, ensure that the commit scheduler is locked to avoid parallel
|