Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def prediction(raw_text):
|
|
21 |
st.markdown(displacy.render(text1,style="ent"))
|
22 |
|
23 |
models = ["en_core_web_sm"]
|
24 |
-
spacy_streamlit.visualize_spans(
|
25 |
#visualize_ner(text1, labels=nlp.get_pipe("ner").labels)
|
26 |
|
27 |
raw_text = """Ai-Khanoum (/aɪ ˈhɑːnjuːm/, meaning Lady Moon; Uzbek: Oyxonim) is the archaeological site of a Hellenistic city in Takhar Province, Afghanistan.
|
|
|
21 |
st.markdown(displacy.render(text1,style="ent"))
|
22 |
|
23 |
models = ["en_core_web_sm"]
|
24 |
+
spacy_streamlit.visualize_spans(text1)
|
25 |
#visualize_ner(text1, labels=nlp.get_pipe("ner").labels)
|
26 |
|
27 |
raw_text = """Ai-Khanoum (/aɪ ˈhɑːnjuːm/, meaning Lady Moon; Uzbek: Oyxonim) is the archaeological site of a Hellenistic city in Takhar Province, Afghanistan.
|