saritha5 commited on
Commit
a601f8c
·
1 Parent(s): df13e11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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
- st. write(displacy.render(text1,style="ent",jupyter=True))
 
 
 
 
 
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