antonbol commited on
Commit
c22ad31
1 Parent(s): bde0954

changed some default values

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="blabla", label="Cabin"),
49
- gr.inputs.Textbox(default="blabla", label="Embarked: [S, C, Q]")
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