Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ archaeologists until the outbreak of conflict in Afghanistan in the late 1970s.
|
|
| 33 |
if st.button("Tokenize"):
|
| 34 |
spacy_streamlit.visualize_tokens(docx,attrs = ['text','pos_','dep_','ent_type_'])
|
| 35 |
|
| 36 |
-
st.subheader("Name Entity Recognition")
|
| 37 |
if st.button("Entity Extraction"):
|
| 38 |
|
| 39 |
spacy_streamlit.visualize_ner(docx,labels = nlp.get_pipe('ner').labels,show_table = False)
|
|
|
|
| 33 |
if st.button("Tokenize"):
|
| 34 |
spacy_streamlit.visualize_tokens(docx,attrs = ['text','pos_','dep_','ent_type_'])
|
| 35 |
|
| 36 |
+
#st.subheader("Name Entity Recognition")
|
| 37 |
if st.button("Entity Extraction"):
|
| 38 |
|
| 39 |
spacy_streamlit.visualize_ner(docx,labels = nlp.get_pipe('ner').labels,show_table = False)
|