Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -47,12 +47,14 @@ st.markdown(
|
|
47 |
st.sidebar.markdown('Using transformer model')
|
48 |
|
49 |
## Loading in dataset
|
50 |
-
#df = pd.read_csv('mtsamples_small.csv',index_col=0)
|
51 |
-
#df = pd.read_csv('shpi_w_rouge21Nov.csv')
|
52 |
df = pd.read_csv('shpi25nov.csv')
|
|
|
53 |
#Loading in Admission chief Complaint and diagnosis
|
54 |
df2 = pd.read_csv('cohort_cc_adm_diag.csv')
|
55 |
|
|
|
|
|
|
|
56 |
#combining both data into one
|
57 |
df = pd.merge(df, df2, on=['HADM_ID','SUBJECT_ID'])
|
58 |
|
|
|
47 |
st.sidebar.markdown('Using transformer model')
|
48 |
|
49 |
## Loading in dataset
|
|
|
|
|
50 |
df = pd.read_csv('shpi25nov.csv')
|
51 |
+
|
52 |
#Loading in Admission chief Complaint and diagnosis
|
53 |
df2 = pd.read_csv('cohort_cc_adm_diag.csv')
|
54 |
|
55 |
+
#Loading in Dischare History
|
56 |
+
df3 = pd.read_csv('cohort_past_history_12072022.csv')
|
57 |
+
|
58 |
#combining both data into one
|
59 |
df = pd.merge(df, df2, on=['HADM_ID','SUBJECT_ID'])
|
60 |
|