carisackc commited on
Commit
2cf1fe1
·
1 Parent(s): 3999cd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -302,19 +302,19 @@ with col1:
302
  trans_df = pd.DataFrame(table)
303
 
304
  with col2:
305
- st.button('NER')
306
- st.markdown('**CHIEF COMPLAINT:**')
307
- st.write(str(AdmissionChiefCom))
308
- st.markdown('**ADMISSION DIAGNOSIS:**')
309
- st.markdown(str(diagnosis))
310
- st.markdown('**PROBLEM/ISSUE**')
311
- genEntities(trans_df, 'DISEASE')
312
- st.markdown('**MEDICATION**')
313
- genEntities(trans_df, 'CHEMICAL')
314
- #st.table(trans_df)
315
- st.markdown('**NER**')
316
- with st.expander("See NER Details"):
317
- st.markdown(ent_html, unsafe_allow_html=True)
318
 
319
 
320
 
 
302
  trans_df = pd.DataFrame(table)
303
 
304
  with col2:
305
+ if st.button('NER'):
306
+ st.markdown('**CHIEF COMPLAINT:**')
307
+ st.write(str(AdmissionChiefCom))
308
+ st.markdown('**ADMISSION DIAGNOSIS:**')
309
+ st.markdown(str(diagnosis))
310
+ st.markdown('**PROBLEM/ISSUE**')
311
+ genEntities(trans_df, 'DISEASE')
312
+ st.markdown('**MEDICATION**')
313
+ genEntities(trans_df, 'CHEMICAL')
314
+ #st.table(trans_df)
315
+ st.markdown('**NER**')
316
+ with st.expander("See NER Details"):
317
+ st.markdown(ent_html, unsafe_allow_html=True)
318
 
319
 
320