Spaces:
Sleeping
Sleeping
sotirios-slv
commited on
Commit
•
d075bff
1
Parent(s):
858ad43
Reverted to previous version
Browse files
app.py
CHANGED
@@ -24,7 +24,8 @@ def get_named_entities(ocr_text: str):
|
|
24 |
for token in sentence:
|
25 |
for entity in token.get_spans("ner"):
|
26 |
entities.append(entity)
|
27 |
-
|
|
|
28 |
|
29 |
return entities
|
30 |
|
|
|
24 |
for token in sentence:
|
25 |
for entity in token.get_spans("ner"):
|
26 |
entities.append(entity)
|
27 |
+
|
28 |
+
print("ENTITIES ", entities)
|
29 |
|
30 |
return entities
|
31 |
|