Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|