fmegahed commited on
Commit
13eb262
·
1 Parent(s): 5d6e3cf

version 1.0.1

Browse files

Updated the minimum age for the patient to adult

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def predict(age, female, race, elective, aweekend, zipinc_qrtl, hosp_region, hos
84
  'Predicting Death Outcome:': pred['Label'][0]}
85
 
86
  # Defining the containers for each input
87
- age = gr.inputs.Slider(minimum=0, maximum=100, default=60, label="Age")
88
  female = gr.inputs.Dropdown(choices=["Female", "Male"],label = 'Sex')
89
  race = gr.inputs.Dropdown(choices=['Asian or Pacific Islander', 'Black', 'Hispanic', 'Native American', 'White', 'Other'], label = 'Race')
90
  elective = gr.inputs.Radio(choices=['Elective', 'NonElective'], label = 'Elective')
 
84
  'Predicting Death Outcome:': pred['Label'][0]}
85
 
86
  # Defining the containers for each input
87
+ age = gr.inputs.Slider(minimum=18, maximum=100, default=60, label="Age")
88
  female = gr.inputs.Dropdown(choices=["Female", "Male"],label = 'Sex')
89
  race = gr.inputs.Dropdown(choices=['Asian or Pacific Islander', 'Black', 'Hispanic', 'Native American', 'White', 'Other'], label = 'Race')
90
  elective = gr.inputs.Radio(choices=['Elective', 'NonElective'], label = 'Elective')