Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def get_summary(text):
|
|
| 11 |
# named entity recognition
|
| 12 |
ner_model = pipeline("ner", model = "dslim/bert-large-NER")
|
| 13 |
|
| 14 |
-
def
|
| 15 |
output = ner_model(text)
|
| 16 |
return output
|
| 17 |
|
|
|
|
| 11 |
# named entity recognition
|
| 12 |
ner_model = pipeline("ner", model = "dslim/bert-large-NER")
|
| 13 |
|
| 14 |
+
def get_ner(text):
|
| 15 |
output = ner_model(text)
|
| 16 |
return output
|
| 17 |
|