Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|