elshehawy commited on
Commit
a89c063
·
1 Parent(s): 46896f0

before merge

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def find_orgs(sentence, choice):
49
  org_list = []
50
  for ent in pipe(sentence):
51
  if ent['entity_group'] == 'ORG' and ent['word'] not in org_list:
52
- message += f'\n- {ent["word"]} \t- score: {ent['score']}'
53
  org_list.append(ent['word'])
54
  return message
55
 
 
49
  org_list = []
50
  for ent in pipe(sentence):
51
  if ent['entity_group'] == 'ORG' and ent['word'] not in org_list:
52
+ message += f'\n- {ent["word"]} \t- score: {ent["score"]}'
53
  org_list.append(ent['word'])
54
  return message
55