Vishnu-add commited on
Commit
7d7ce6f
·
1 Parent(s): 1785439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -7,6 +7,5 @@ def ner(sentence):
7
  doc = nlp(sentence)
8
  ents = [(e.text, e.label_) for e in doc.ents]
9
  return ents,ents
10
-
11
  app = gr.Interface(fn=ner, inputs="text", outputs=["text",gr.HighlightedText(label="Text with entites")])
12
  app.launch()
 
7
  doc = nlp(sentence)
8
  ents = [(e.text, e.label_) for e in doc.ents]
9
  return ents,ents
 
10
  app = gr.Interface(fn=ner, inputs="text", outputs=["text",gr.HighlightedText(label="Text with entites")])
11
  app.launch()