Update app.py
Browse files
app.py
CHANGED
|
@@ -25,8 +25,8 @@ iface = gr.Interface(
|
|
| 25 |
fn=predict_survival,
|
| 26 |
inputs=[
|
| 27 |
gr.components.Dropdown(choices=["Masculino", "Femenino"], label="Sexo"),
|
| 28 |
-
gr.components.Slider(minimum=0, maximum=100, step=1,
|
| 29 |
-
gr.components.Slider(minimum=0, maximum=512, step=1,
|
| 30 |
gr.components.Dropdown(choices=[1, 2, 3], label="Clase del Pasajero"),
|
| 31 |
gr.components.Slider(minimum=0, maximum=8, step=1, default=0, label="Hermanos/C贸nyuges a bordo")
|
| 32 |
],
|
|
|
|
| 25 |
fn=predict_survival,
|
| 26 |
inputs=[
|
| 27 |
gr.components.Dropdown(choices=["Masculino", "Femenino"], label="Sexo"),
|
| 28 |
+
gr.components.Slider(minimum=0, maximum=100, step=1, value=28, label="Edad"),
|
| 29 |
+
gr.components.Slider(minimum=0, maximum=512, step=1, value=33, label="Tarifa"),
|
| 30 |
gr.components.Dropdown(choices=[1, 2, 3], label="Clase del Pasajero"),
|
| 31 |
gr.components.Slider(minimum=0, maximum=8, step=1, default=0, label="Hermanos/C贸nyuges a bordo")
|
| 32 |
],
|