akdeniz27 commited on
Commit
9c13337
1 Parent(s): f193a60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -109,4 +109,5 @@ if Run_Button and input_text != "":
109
  # colors = {'PER': '#85DCDF', 'LOC': '#DF85DC', 'ORG': '#DCDF85', 'MISC': '#85ABDF',}
110
  html = spacy.displacy.render(spacy_display, style="ent", minify=True, manual=True, options={"ents": spacy_entity_list}) # , "colors": colors})
111
  style = "<style>mark.entity { display: inline-block }</style>"
112
- st.write(f"{style}{get_html(html)}", unsafe_allow_html=True)
 
 
109
  # colors = {'PER': '#85DCDF', 'LOC': '#DF85DC', 'ORG': '#DCDF85', 'MISC': '#85ABDF',}
110
  html = spacy.displacy.render(spacy_display, style="ent", minify=True, manual=True, options={"ents": spacy_entity_list}) # , "colors": colors})
111
  style = "<style>mark.entity { display: inline-block }</style>"
112
+ st.write(f"{style}{get_html(html)}", unsafe_allow_html=True)
113
+