saritha5 commited on
Commit
cc0f4c5
·
1 Parent(s): 057c911

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -18,6 +18,10 @@ def main():
18
 
19
  menu = ["Home","NER"]
20
  choice = st.sidebar.selectbox("Menu", menu)
 
 
 
 
21
 
22
  if choice == "Home":
23
  st.subheader("Tokenization")
 
18
 
19
  menu = ["Home","NER"]
20
  choice = st.sidebar.selectbox("Menu", menu)
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")