AyushDey commited on
Commit
028c2c5
·
1 Parent(s): bfd5867

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def named(input):
20
  merged_words = merged_words(output)
21
  return {'text': input, 'entities': merged_words}
22
 
23
- a = gr.Interface(fn=name,
24
  inputs=[gr.Textbox(label="Text input", lines= 2)],
25
  outputs=[gr.HighlightedText(label='Text with entities')],
26
  title='Named Entity Recognition', examples=["My name is Andrew, I'm building DeeplearningAI and I live in California", "My name is Poli, I live in Vienna and work at HuggingFace"])
 
20
  merged_words = merged_words(output)
21
  return {'text': input, 'entities': merged_words}
22
 
23
+ a = gr.Interface(fn=named,
24
  inputs=[gr.Textbox(label="Text input", lines= 2)],
25
  outputs=[gr.HighlightedText(label='Text with entities')],
26
  title='Named Entity Recognition', examples=["My name is Andrew, I'm building DeeplearningAI and I live in California", "My name is Poli, I live in Vienna and work at HuggingFace"])