Spaces:
Runtime error
Runtime error
Commit ·
ac0eacb
1
Parent(s): 27961e6
Update countriesIdentification.py
Browse files
countriesIdentification.py
CHANGED
|
@@ -11,6 +11,8 @@ import re
|
|
| 11 |
from transformers import BertTokenizer, BertModel
|
| 12 |
import torch
|
| 13 |
|
|
|
|
|
|
|
| 14 |
# Load the spacy model with GloVe embeddings
|
| 15 |
nlp = spacy.load("en_core_web_lg")
|
| 16 |
|
|
|
|
| 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")
|
| 18 |
|