saritha5 commited on
Commit
95765bf
·
1 Parent(s): f639cd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -21,7 +21,6 @@ def main():
21
 
22
  if choice == "Home":
23
  st.subheader("Tokenization")
24
-
25
  raw_text = st.text_area("Your Text","Enter the Text Here")
26
  docx = nlp(raw_text)
27
  if st.button("Tokenize"):
@@ -31,7 +30,7 @@ def main():
31
  st.subheader("Name Entity Recognition")
32
  raw_text = st.text_area("Your Text","Enter the Text Here")
33
  docx = nlp(raw_text)
34
- spacy_streamlit.visualize_ner(docx,labels = nlp.get_pipe('ner').labels)
35
 
36
 
37
 
 
21
 
22
  if choice == "Home":
23
  st.subheader("Tokenization")
 
24
  raw_text = st.text_area("Your Text","Enter the Text Here")
25
  docx = nlp(raw_text)
26
  if st.button("Tokenize"):
 
30
  st.subheader("Name Entity Recognition")
31
  raw_text = st.text_area("Your Text","Enter the Text Here")
32
  docx = nlp(raw_text)
33
+ spacy_streamlit.visualize_ner(docx)#,labels = nlp.get_pipe('ner').labels)
34
 
35
 
36