Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,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)
|
| 35 |
|
| 36 |
|
| 37 |
|
|
|
|
| 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'))
|
| 35 |
|
| 36 |
|
| 37 |
|