carisackc commited on
Commit
f638201
·
1 Parent(s): 853acac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -172,7 +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
 
177
  col3, col4 = st.columns(2)
178
  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
+ st.write(ent_html, unsafe_allow_html=True)
177
 
178
  col3, col4 = st.columns(2)
179
  with col3: