Spaces:
Runtime error
Runtime error
Campfireman
commited on
Commit
·
dff5496
1
Parent(s):
8488e97
Update app.py
Browse files
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.
|
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()
|