carisackc commited on
Commit
93b90c5
·
1 Parent(s): a763bb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -11
app.py CHANGED
@@ -93,6 +93,10 @@ patientid = col3.write(f"Patient ID: {patient} ")
93
  admissionid =col4.write(f"Admission ID: {HospitalAdmission} ")
94
  runtext = ''
95
 
 
 
 
 
96
  original_text2 = original_text['Original_Text'].values
97
  reference_text = original_text['Reference_text'].values
98
 
@@ -116,17 +120,6 @@ with col4:
116
  #nav_page('Social Notes')
117
  runtext =st.text_area('Input Social Note here:', str(original_text2), height=300)
118
 
119
- # Query out relevant Clinical notes
120
- original_text = df.query(
121
- "Patient_ID == @patient & Admission_ID == @HospitalAdmission"
122
- )
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
  def run_model(input_text):
131
 
132
  if model == "BertSummarizer":
 
93
  admissionid =col4.write(f"Admission ID: {HospitalAdmission} ")
94
  runtext = ''
95
 
96
+ # Query out relevant Clinical notes
97
+ original_text = df.query(
98
+ "Patient_ID == @patient & Admission_ID == @HospitalAdmission"
99
+ )
100
  original_text2 = original_text['Original_Text'].values
101
  reference_text = original_text['Reference_text'].values
102
 
 
120
  #nav_page('Social Notes')
121
  runtext =st.text_area('Input Social Note here:', str(original_text2), height=300)
122
 
 
 
 
 
 
 
 
 
 
 
 
123
  def run_model(input_text):
124
 
125
  if model == "BertSummarizer":