Spaces:
Runtime error
Runtime error
fix IndentationError
Browse files
app.py
CHANGED
@@ -49,11 +49,8 @@ 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 |
-
|
53 |
-
message += f'\n- {ent["word"]} \t- score: {ent["score"]}'
|
54 |
-
=======
|
55 |
message += f'\n- {ent["word"]}'# \t- score: {ent["score"]}'
|
56 |
-
>>>>>>> b30a51f302e550a9a30a4a8cf28eadaf6fd27e39
|
57 |
org_list.append(ent['word'])
|
58 |
return message
|
59 |
|
|
|
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 |
message += f'\n- {ent["word"]}'# \t- score: {ent["score"]}'
|
|
|
54 |
org_list.append(ent['word'])
|
55 |
return message
|
56 |
|