FrankAst commited on
Commit
2fcd289
1 Parent(s): efdfa9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -62,6 +62,7 @@ def predict_survival(sex, age, fare):
62
  sex = gr.inputs.Radio(['female', 'male'], label="Sex")
63
  age = gr.inputs.Slider(minimum=0, maximum=120, default=22, label="Age")
64
  fare = gr.inputs.Slider(minimum=0, maximum=200, default=100, label="Fare (british pounds)")
 
65
 
66
  gr.Interface(predict_survival, [sex, age, fare], "label", live=True, thumbnail="https://raw.githubusercontent.com/gradio-app/hub-titanic/master/thumbnail.png", analytics_enabled=False,
67
  title="Surviving the Titanic", description="Demographics importance on Titanic Survival probabilities:").launch();
 
62
  sex = gr.inputs.Radio(['female', 'male'], label="Sex")
63
  age = gr.inputs.Slider(minimum=0, maximum=120, default=22, label="Age")
64
  fare = gr.inputs.Slider(minimum=0, maximum=200, default=100, label="Fare (british pounds)")
65
+ height = gr.inputs.Slider(minimun=0.1, maximum = 2.10, default=1.75, label="Height")
66
 
67
  gr.Interface(predict_survival, [sex, age, fare], "label", live=True, thumbnail="https://raw.githubusercontent.com/gradio-app/hub-titanic/master/thumbnail.png", analytics_enabled=False,
68
  title="Surviving the Titanic", description="Demographics importance on Titanic Survival probabilities:").launch();