Ashish08 commited on
Commit
6d3242d
1 Parent(s): 8556407

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ get_completion = pipeline("ner", model="dslim/bert-base-NER")
20
 
21
  def ner(input):
22
  output = get_completion(input)
23
- merged_tokens = merge_tokens(output
24
  return {"text": input, "entities": merged_tokens}
25
 
26
  gr.close_all()
 
20
 
21
  def ner(input):
22
  output = get_completion(input)
23
+ merged_tokens = merge_tokens(output)
24
  return {"text": input, "entities": merged_tokens}
25
 
26
  gr.close_all()