saritha5 commited on
Commit
bdb84a0
·
1 Parent(s): 2c64d03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(models, 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.
 
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.