Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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()
|