Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -186,7 +186,7 @@ if uploaded_file is not None:
|
|
| 186 |
t5_words = list(set(sent.split("\n")))
|
| 187 |
for i in t5_words:
|
| 188 |
t5+=i.split(" ")
|
| 189 |
-
t5_words=set(t5).difference(set(x.split(" ")))
|
| 190 |
entities,words_out = extract_entities(sent)
|
| 191 |
words_out+=t5_words
|
| 192 |
bert_words = words_red_bert(sent)
|
|
|
|
| 186 |
t5_words = list(set(sent.split("\n")))
|
| 187 |
for i in t5_words:
|
| 188 |
t5+=i.split(" ")
|
| 189 |
+
t5_words=set(t5).difference(set(x.split(" ")))
|
| 190 |
entities,words_out = extract_entities(sent)
|
| 191 |
words_out+=t5_words
|
| 192 |
bert_words = words_red_bert(sent)
|