Spaces:
Runtime error
Runtime error
Commit
·
e27cec7
1
Parent(s):
7d62cd3
Updated message
Browse files
app.py
CHANGED
@@ -39,10 +39,10 @@ demo = gr.Interface(
|
|
39 |
description="Experiment to predict passenger survival on the Titanic.",
|
40 |
allow_flagging="never",
|
41 |
inputs=[
|
42 |
-
gr.inputs.Number(default=1.0, label="Pclass (
|
43 |
-
gr.inputs.Number(default=1.0, label="Sex (0
|
44 |
-
gr.inputs.Number(default=1.0, label="Age (0 -> 100)"),
|
45 |
-
gr.inputs.Number(default=1.0, label="Parch (0 -> 2)"),
|
46 |
],
|
47 |
outputs=gr.Image(type="pil"))
|
48 |
|
|
|
39 |
description="Experiment to predict passenger survival on the Titanic.",
|
40 |
allow_flagging="never",
|
41 |
inputs=[
|
42 |
+
gr.inputs.Number(default=1.0, label="Pclass (1st class -> 3 class)"),
|
43 |
+
gr.inputs.Number(default=1.0, label="Sex (0 = Female, 1 = Male)"),
|
44 |
+
gr.inputs.Number(default=1.0, label="Age (0 -> 100 years)"),
|
45 |
+
gr.inputs.Number(default=1.0, label="Parch (0 -> 2 parents/children on board)"),
|
46 |
],
|
47 |
outputs=gr.Image(type="pil"))
|
48 |
|