Spaces:
Sleeping
Sleeping
Update ner_tool.py
Browse files- ner_tool.py +1 -1
ner_tool.py
CHANGED
@@ -7,7 +7,7 @@ class NamedEntityRecognitionTool(Tool):
|
|
7 |
name = "ner_tool"
|
8 |
description = "Identifies and labels entities such as persons, organizations, and locations in a given text."
|
9 |
inputs = ["text"]
|
10 |
-
outputs = ["
|
11 |
|
12 |
def __call__(self, text: str):
|
13 |
# Initialize the named entity recognition pipeline
|
|
|
7 |
name = "ner_tool"
|
8 |
description = "Identifies and labels entities such as persons, organizations, and locations in a given text."
|
9 |
inputs = ["text"]
|
10 |
+
outputs = ["text"]
|
11 |
|
12 |
def __call__(self, text: str):
|
13 |
# Initialize the named entity recognition pipeline
|