saritha5 commited on
Commit
8d5225e
·
1 Parent(s): cc0f4c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def main():
21
  raw_text = st.text_area("Your Text","Enter the Text Here")
22
  docx = nlp(raw_text)
23
  if st.button("Tokenize"):
24
- spacy_streamlit.visualize_tokens(docx)
25
 
26
  if choice == "Home":
27
  st.subheader("Tokenization")
 
21
  raw_text = st.text_area("Your Text","Enter the Text Here")
22
  docx = nlp(raw_text)
23
  if st.button("Tokenize"):
24
+ spacy_streamlit.visualize_tokens(docx,attrs = ['text','pos_','dep_','ent_type_'])
25
 
26
  if choice == "Home":
27
  st.subheader("Tokenization")