carisackc commited on
Commit
87b26e2
·
1 Parent(s): a2c3ee0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -314,19 +314,19 @@ with col1:
314
  trans_df = pd.DataFrame(table)
315
 
316
  with col2:
317
- if st.button('NER'):
318
- st.markdown('**CHIEF COMPLAINT:**')
319
- st.write(str(AdmissionChiefCom))
320
- st.markdown('**ADMISSION DIAGNOSIS:**')
321
- st.markdown(str(diagnosis))
322
- st.markdown('**PROBLEM/ISSUE**')
323
- genEntities(trans_df, 'DISEASE')
324
- st.markdown('**MEDICATION**')
325
- genEntities(trans_df, 'CHEMICAL')
326
- #st.table(trans_df)
327
- st.markdown('**NER**')
328
- with st.expander("See NER Details"):
329
- st.markdown(ent_html, unsafe_allow_html=True)
330
 
331
 
332
 
 
314
  trans_df = pd.DataFrame(table)
315
 
316
  with col2:
317
+ st.button('NER'):
318
+ st.markdown('**CHIEF COMPLAINT:**')
319
+ st.write(str(AdmissionChiefCom))
320
+ st.markdown('**ADMISSION DIAGNOSIS:**')
321
+ st.markdown(str(diagnosis))
322
+ st.markdown('**PROBLEM/ISSUE**')
323
+ genEntities(trans_df, 'DISEASE')
324
+ st.markdown('**MEDICATION**')
325
+ genEntities(trans_df, 'CHEMICAL')
326
+ #st.table(trans_df)
327
+ st.markdown('**NER**')
328
+ with st.expander("See NER Details"):
329
+ st.markdown(ent_html, unsafe_allow_html=True)
330
 
331
 
332