sotirios-slv commited on
Commit
d075bff
1 Parent(s): 858ad43

Reverted to previous version

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- print(token.get_tag("pos").value)
 
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