Upload app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def predict_insurance_charge(age,sex,bmi,children,smoker,region):
|
|
| 78 |
age_input = gr.Number(label='age')
|
| 79 |
bmi_input = gr.Number(label='bmi')
|
| 80 |
children_input = gr.Number(label='children')
|
| 81 |
-
|
| 82 |
smoker_input = gr.Dropdown(['yes','no'],label='smoker')
|
| 83 |
region_input = gr.Dropdown(
|
| 84 |
['southeast','southwest','northwest','northeast'],
|
|
|
|
| 78 |
age_input = gr.Number(label='age')
|
| 79 |
bmi_input = gr.Number(label='bmi')
|
| 80 |
children_input = gr.Number(label='children')
|
| 81 |
+
sex_input = gr.Dropdown(['male','female'],label='sex')
|
| 82 |
smoker_input = gr.Dropdown(['yes','no'],label='smoker')
|
| 83 |
region_input = gr.Dropdown(
|
| 84 |
['southeast','southwest','northwest','northeast'],
|