Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def merge_tokens(tokens):
|
|
21 |
return merged_tokens
|
22 |
|
23 |
def ner(input):
|
24 |
-
output =
|
25 |
merged_tokens = merge_tokens(output)
|
26 |
return {"text": input, "entities": merged_tokens}
|
27 |
|
|
|
21 |
return merged_tokens
|
22 |
|
23 |
def ner(input):
|
24 |
+
output = pipe(input)
|
25 |
merged_tokens = merge_tokens(output)
|
26 |
return {"text": input, "entities": merged_tokens}
|
27 |
|