carisackc commited on
Commit
48d358d
·
1 Parent(s): 1fbffbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -77,8 +77,8 @@ st.sidebar.header("Search for Patient:")
77
  patientid = df['Patient_ID']
78
  patient = st.sidebar.selectbox('Select Patient ID:', patientid)
79
  admissionid = df['Admission_ID'].loc[df['Patient_ID'] == patient]
80
- HospitalAdmission = st.sidebar.selectbox(' ', admissionid)
81
- pastHistoryEpid = df3['INDEX_HADM_ID'].loc[df['Patient_ID'] == patient]
82
 
83
 
84
  # List of Model available
@@ -145,7 +145,7 @@ with st.container():
145
  with col8:
146
  #st.date_input('Select Admission Date') # To replace with a dropdown filter instead
147
  #st.selectbox('Past Episodes',pastHistoryEp)
148
- pastHistory = st.sidebar.selectbox(' ', pastHistoryEpid)
149
 
150
  ##========= END on Past History Tab =========
151
 
 
77
  patientid = df['Patient_ID']
78
  patient = st.sidebar.selectbox('Select Patient ID:', patientid)
79
  admissionid = df['Admission_ID'].loc[df['Patient_ID'] == patient]
80
+ HospitalAdmission = st.sidebar.selectbox(' ', admissionid)
81
+ pastHistoryEpid = df3['INDEX_HADM_ID'].loc[df3['Patient_ID'] == patient]
82
 
83
 
84
  # List of Model available
 
145
  with col8:
146
  #st.date_input('Select Admission Date') # To replace with a dropdown filter instead
147
  #st.selectbox('Past Episodes',pastHistoryEp)
148
+ pastHistory = st.selectbox(' ', pastHistoryEpid)
149
 
150
  ##========= END on Past History Tab =========
151