Campfireman commited on
Commit
dff5496
·
1 Parent(s): 8488e97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,6 +45,6 @@ demo = gr.Interface(
45
  gr.inputs.Number(default=1.0, label="cabin(if the passanger has one cabin =1, else =0)"),
46
 
47
  ],
48
- outputs=gr.outputs.Number(label="survived"))
49
 
50
  demo.launch()
 
45
  gr.inputs.Number(default=1.0, label="cabin(if the passanger has one cabin =1, else =0)"),
46
 
47
  ],
48
+ outputs=gr.Textbox(value=("This guy will"+("survive. " if res==1 else "die. "))))
49
 
50
  demo.launch()