Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,13 @@ text1= NER(raw_text)
|
|
| 11 |
|
| 12 |
for word in text1.ents:
|
| 13 |
st.write(word.text,word.label_)
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
|
|
|
| 11 |
|
| 12 |
for word in text1.ents:
|
| 13 |
st.write(word.text,word.label_)
|
| 14 |
+
|
| 15 |
+
from load_css import local_css
|
| 16 |
|
| 17 |
+
local_css("style.css")
|
| 18 |
+
|
| 19 |
+
t = "<div>raw_text <span class='highlight blue'>word.text <span class='bold'>yo</span> <span class='bold'>Name</span></span></div>"
|
| 20 |
+
|
| 21 |
+
st.markdown(t, unsafe_allow_html=True)
|
| 22 |
+
#st. write(displacy.render(text1,style="ent",jupyter=True))
|
| 23 |
|