carisackc commited on
Commit
308d221
·
1 Parent(s): f638201

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -172,8 +172,8 @@ with col2:
172
  colors = { "DISEASE": "pink","CHEMICAL": "orange"}
173
  options = {"ents": [ "DISEASE", "CHEMICAL"],"colors": colors}
174
  ent_html = displacy.render(doc, style="ent", options=options)
175
- #st.markdown(ent_html, unsafe_allow_html=True)
176
- st.write(ent_html, unsafe_allow_html=True)
177
 
178
  col3, col4 = st.columns(2)
179
  with col3:
 
172
  colors = { "DISEASE": "pink","CHEMICAL": "orange"}
173
  options = {"ents": [ "DISEASE", "CHEMICAL"],"colors": colors}
174
  ent_html = displacy.render(doc, style="ent", options=options)
175
+ st.markdown(ent_html, unsafe_allow_html=True)
176
+
177
 
178
  col3, col4 = st.columns(2)
179
  with col3: