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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ def merged_words(tokens):
17
 
18
  def named(input):
19
  output = ner(input)
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)],
 
17
 
18
  def named(input):
19
  output = ner(input)
20
+ merged_word = merged_words(output)
21
+ return {'text': input, 'entities': merged_word}
22
 
23
  a = gr.Interface(fn=named,
24
  inputs=[gr.Textbox(label="Text input", lines= 2)],