Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def main():
|
|
53 |
"smoking": [smoking],
|
54 |
"time": [time]}))
|
55 |
# Show prediction
|
56 |
-
result = '
|
57 |
st.success("Your prediction death is ", result)
|
58 |
|
59 |
# Run main()
|
|
|
53 |
"smoking": [smoking],
|
54 |
"time": [time]}))
|
55 |
# Show prediction
|
56 |
+
result = 'DEATH' if result[0] == 1 else 'NO DEATH'
|
57 |
st.success("Your prediction death is ", result)
|
58 |
|
59 |
# Run main()
|