Upload app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ model_output = gr.Label(label="Insurace Charges")
|
|
| 92 |
demo = gr.Interface(
|
| 93 |
fn=predict_insurance_charge,
|
| 94 |
inputs=[age_input,bmi_input,children_input,sex_input,smoker_input,region_input],
|
| 95 |
-
|
| 96 |
title="HealthyLife Insurance Charge Prediction",
|
| 97 |
description="This API allows you to predict the estimating insurnace charges based on customer attributes",
|
| 98 |
examples=[[33,33.44,5,'male','no','southeast'],
|
|
|
|
| 92 |
demo = gr.Interface(
|
| 93 |
fn=predict_insurance_charge,
|
| 94 |
inputs=[age_input,bmi_input,children_input,sex_input,smoker_input,region_input],
|
| 95 |
+
outputs=model_output,
|
| 96 |
title="HealthyLife Insurance Charge Prediction",
|
| 97 |
description="This API allows you to predict the estimating insurnace charges based on customer attributes",
|
| 98 |
examples=[[33,33.44,5,'male','no','southeast'],
|