arunavsk1 commited on
Commit
484f384
1 Parent(s): 620017f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -111,4 +111,7 @@ if Run_Button == True:
111
  'I-Value': '#DCDF85'}
112
  html = spacy.displacy.render(spacy_display, style="ent", minify=True, manual=True, options={"ents": entity_list, "colors": colors})
113
  style = "<style>mark.entity { display: inline-block }</style>"
114
- st.write(f"{style}{get_html(html)}", unsafe_allow_html=True)
 
 
 
 
111
  'I-Value': '#DCDF85'}
112
  html = spacy.displacy.render(spacy_display, style="ent", minify=True, manual=True, options={"ents": entity_list, "colors": colors})
113
  style = "<style>mark.entity { display: inline-block }</style>"
114
+ st.write(f"{style}{get_html(html)}", unsafe_allow_html=True)
115
+
116
+ st.subheader("Recognized Entities")
117
+ st.dataframe(df_final)