Spaces:
Runtime error
Runtime error
Update prediction.py
Browse files- prediction.py +2 -3
prediction.py
CHANGED
@@ -22,15 +22,14 @@ def run():
|
|
22 |
anemia = st.selectbox('Anemia', (0, 1), index=1)
|
23 |
diabetes = st.selectbox('Diabetes', (0, 1), index=1)
|
24 |
high_blood_pressure = st.selectbox('High blood pressure', (0, 1), index=1)
|
25 |
-
serum_sodium = st.
|
26 |
sex = st.selectbox('Sex', (0, 1), index=1)
|
27 |
smoking = st.selectbox('Smoking', (0, 1), index=1)
|
28 |
time = st.number_input('Time', min_value=100, max_value=150, value=100)
|
29 |
binned_age = st.selectbox('Range of age', (1, 2,3,4), index=1)
|
30 |
binned_creat_serum = st.selectbox('High serum creatinine', (1, 2), index=1)
|
31 |
binned_cpk = st.selectbox('CPK Value', (1,2,3), index=1)
|
32 |
-
binned_ejection = st.selectbox(' Ejection
|
33 |
-
binned_cpk = st.selectbox('CPK Value', (1,2,3), index=1)
|
34 |
binned_platelets = st.selectbox('Platelets count', (0, 1, 2), index=1)
|
35 |
st.markdown('---')
|
36 |
|
|
|
22 |
anemia = st.selectbox('Anemia', (0, 1), index=1)
|
23 |
diabetes = st.selectbox('Diabetes', (0, 1), index=1)
|
24 |
high_blood_pressure = st.selectbox('High blood pressure', (0, 1), index=1)
|
25 |
+
serum_sodium = st.slider('Serum Sodium', 100, 150, 120)
|
26 |
sex = st.selectbox('Sex', (0, 1), index=1)
|
27 |
smoking = st.selectbox('Smoking', (0, 1), index=1)
|
28 |
time = st.number_input('Time', min_value=100, max_value=150, value=100)
|
29 |
binned_age = st.selectbox('Range of age', (1, 2,3,4), index=1)
|
30 |
binned_creat_serum = st.selectbox('High serum creatinine', (1, 2), index=1)
|
31 |
binned_cpk = st.selectbox('CPK Value', (1,2,3), index=1)
|
32 |
+
binned_ejection = st.selectbox(' Ejection fraction', (1,2,3), index=1)
|
|
|
33 |
binned_platelets = st.selectbox('Platelets count', (0, 1, 2), index=1)
|
34 |
st.markdown('---')
|
35 |
|