saritha5 commited on
Commit
b7772c5
·
1 Parent(s): cfcad6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ def prediction(raw_text):
19
  st.write("------------------")
20
  st.write("NERs in the sentence:")
21
  st.markdown(displacy.render(text1,style="ent"))
22
-
23
- models = "en_core_web_sm"
24
  spacy_streamlit.visualize(models, text1)
25
  #visualize_ner(text1, labels=nlp.get_pipe("ner").labels)
26
 
 
19
  st.write("------------------")
20
  st.write("NERs in the sentence:")
21
  st.markdown(displacy.render(text1,style="ent"))
22
+
23
+ models = ["en_core_web_sm"]
24
  spacy_streamlit.visualize(models, text1)
25
  #visualize_ner(text1, labels=nlp.get_pipe("ner").labels)
26