Hello,
I’m using the allow html option to display Spacy NER model’s output, here’s my code :
doc = nlp(text)
html_page = displacy.render([doc], style=“ent”, page=True)
st.write(html_page,unsafe_allow_html=True)