Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def get_ner_from_transformer(output):
|
|
65 |
|
66 |
named_entities[entity_type].append(entity_text)
|
67 |
|
68 |
-
for entity_type, entities in named_entities.items():
|
69 |
# print(f"{entity_type}: {', '.join(entities)}")
|
70 |
return entity_type,named_entities
|
71 |
|
|
|
65 |
|
66 |
named_entities[entity_type].append(entity_text)
|
67 |
|
68 |
+
# for entity_type, entities in named_entities.items():
|
69 |
# print(f"{entity_type}: {', '.join(entities)}")
|
70 |
return entity_type,named_entities
|
71 |
|