Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -91,6 +91,7 @@ df3["CHARTDATE_HADM_ID"] = df3["CHARTDATE"].astype(str) +' ('+ df3["HADM_ID"] +'
|
|
91 |
df3["DIAGNOSIS"] = df3["DIAGNOSIS"].str.capitalize()
|
92 |
df3["DISCHARGE_LOCATION"] = df3["DISCHARGE_LOCATION"].str.capitalize()
|
93 |
|
|
|
94 |
df3["TEXT"] =df3["TEXT"].replace(r'\n',' \n ', regex=True)
|
95 |
df3["TEXT"] =df3["TEXT"].replace(r'#',' ', regex=True)
|
96 |
df3["BertSummarizer"] =df3["BertSummarizer"].replace(r'#',' ', regex=True)
|
|
|
91 |
df3["DIAGNOSIS"] = df3["DIAGNOSIS"].str.capitalize()
|
92 |
df3["DISCHARGE_LOCATION"] = df3["DISCHARGE_LOCATION"].str.capitalize()
|
93 |
|
94 |
+
df3["Diagnosis_Description"] =df3["Diagnosis_Description"].replace(r'\n',' \n ', regex=True)
|
95 |
df3["TEXT"] =df3["TEXT"].replace(r'\n',' \n ', regex=True)
|
96 |
df3["TEXT"] =df3["TEXT"].replace(r'#',' ', regex=True)
|
97 |
df3["BertSummarizer"] =df3["BertSummarizer"].replace(r'#',' ', regex=True)
|