Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ data = pd.DataFrame({'age': [age],
|
|
41 |
'time': [tym]})
|
42 |
|
43 |
# model predict
|
44 |
-
death =
|
45 |
|
46 |
# interpretation
|
47 |
st.write('Predition Result: ')
|
|
|
41 |
'time': [tym]})
|
42 |
|
43 |
# model predict
|
44 |
+
death = rfc.predict(data).tolist()[0]
|
45 |
|
46 |
# interpretation
|
47 |
st.write('Predition Result: ')
|