Spaces:
Runtime error
Runtime error
Commit
·
afdca9b
1
Parent(s):
e0cc496
Update countriesIdentification.py
Browse files
countriesIdentification.py
CHANGED
|
@@ -11,6 +11,7 @@ import re
|
|
| 11 |
from transformers import BertTokenizer, BertModel
|
| 12 |
import torch
|
| 13 |
|
|
|
|
| 14 |
|
| 15 |
# Load the spacy model with GloVe embeddings
|
| 16 |
nlp = spacy.load("en_core_web_lg")
|
|
|
|
| 11 |
from transformers import BertTokenizer, BertModel
|
| 12 |
import torch
|
| 13 |
|
| 14 |
+
spacy.cli.download("en_core_web_lg")
|
| 15 |
|
| 16 |
# Load the spacy model with GloVe embeddings
|
| 17 |
nlp = spacy.load("en_core_web_lg")
|