Update app.py
Browse files
app.py
CHANGED
@@ -39,8 +39,8 @@ demo = gr.Interface(
|
|
39 |
description="Experiment with passenger class, sex, age, number of siblings, number of parents & children and fare, to predict whether the passenger survived.",
|
40 |
allow_flagging="never",
|
41 |
inputs=[
|
42 |
-
gr.inputs.Number(default=1, label="Passenger Class (0, 1 or 2)"),
|
43 |
-
gr.inputs.Number(default=1, label="Sex (0 or 1)"),
|
44 |
gr.inputs.Number(default=30.0, label="Age (0 to 80)"),
|
45 |
gr.inputs.Number(default=1, label="Number of Siblings (0 to 8)"),
|
46 |
gr.inputs.Number(default=1, label="Number of Parents and children (0 to 6)"),
|
|
|
39 |
description="Experiment with passenger class, sex, age, number of siblings, number of parents & children and fare, to predict whether the passenger survived.",
|
40 |
allow_flagging="never",
|
41 |
inputs=[
|
42 |
+
gr.inputs.Number(default=1, label="Passenger Class (0 (First), 1(Second) or 2(Third))"),
|
43 |
+
gr.inputs.Number(default=1, label="Sex (0 Female or 1 Male)"),
|
44 |
gr.inputs.Number(default=30.0, label="Age (0 to 80)"),
|
45 |
gr.inputs.Number(default=1, label="Number of Siblings (0 to 8)"),
|
46 |
gr.inputs.Number(default=1, label="Number of Parents and children (0 to 6)"),
|