DanyaalMajid commited on
Commit
2fe2a41
1 Parent(s): 472673f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,8 +70,8 @@ def main():
70
  data = named_entity_classifier(user_text)
71
 
72
  # Extract and display data
73
- for entry in data:
74
- for entry in entry:
75
  entity_group = entry["entity_group"]
76
  score = entry["score"]
77
  word = entry["word"]
 
70
  data = named_entity_classifier(user_text)
71
 
72
  # Extract and display data
73
+ for labels in data:
74
+ for entry in labels:
75
  entity_group = entry["entity_group"]
76
  score = entry["score"]
77
  word = entry["word"]