PuristanLabs1 commited on
Commit
8848ce5
Β·
verified Β·
1 Parent(s): 2fd6180

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ def extract_entities_with_stanza(text, chunk_size=1000):
168
  doc = nlp(chunk)
169
  for ent in doc.ents:
170
  #entities.append({"text": ent.text, "type": ent.type})
171
- entities.append(f"πŸ“Œ **Entity**: \"{ent.text}\" | **Type**: {ent.type}") # βœ… Format output
172
 
173
  #return entities
174
  if not entities:
 
168
  doc = nlp(chunk)
169
  for ent in doc.ents:
170
  #entities.append({"text": ent.text, "type": ent.type})
171
+ entities.append(f"πŸ“Œ **Entity**: \"{ent.text}\" | **Type**: {ent.type}") # βœ… Format output
172
 
173
  #return entities
174
  if not entities: