changed some default values
Browse files
app.py
CHANGED
@@ -38,15 +38,15 @@ demo = gr.Interface(
|
|
38 |
allow_flagging="never",
|
39 |
inputs=[
|
40 |
gr.inputs.Number(default=1.0, label="pclass, [1,2,3]"),
|
41 |
-
gr.inputs.Textbox(default="Anton", label="name"),
|
42 |
gr.inputs.Textbox(default="male", label="sex, male or female"),
|
43 |
gr.inputs.Number(default=25, label="age"),
|
44 |
gr.inputs.Number(default=2, label="sibsb"),
|
45 |
gr.inputs.Number(default=2, label="parch"),
|
46 |
gr.inputs.Textbox(default="blabla", label="Ticket"),
|
47 |
gr.inputs.Number(default=200, label="Fare"),
|
48 |
-
gr.inputs.Textbox(default="
|
49 |
-
gr.inputs.Textbox(default="
|
50 |
],
|
51 |
outputs=gr.Image(type="pil"))
|
52 |
|
|
|
38 |
allow_flagging="never",
|
39 |
inputs=[
|
40 |
gr.inputs.Number(default=1.0, label="pclass, [1,2,3]"),
|
41 |
+
gr.inputs.Textbox(default="Mr. Anton", label="name"),
|
42 |
gr.inputs.Textbox(default="male", label="sex, male or female"),
|
43 |
gr.inputs.Number(default=25, label="age"),
|
44 |
gr.inputs.Number(default=2, label="sibsb"),
|
45 |
gr.inputs.Number(default=2, label="parch"),
|
46 |
gr.inputs.Textbox(default="blabla", label="Ticket"),
|
47 |
gr.inputs.Number(default=200, label="Fare"),
|
48 |
+
gr.inputs.Textbox(default="A123", label="Cabin"),
|
49 |
+
gr.inputs.Textbox(default="S", label="Embarked: [S, C, Q]")
|
50 |
],
|
51 |
outputs=gr.Image(type="pil"))
|
52 |
|