Spaces:
Running
Running
vickeee465
commited on
Commit
•
7ce342c
1
Parent(s):
af36483
typo
Browse files- interfaces/ner.py +1 -1
interfaces/ner.py
CHANGED
@@ -16,7 +16,7 @@ languages = [
|
|
16 |
def download_models(models=["en_core_web_lg", "xx_ent_wiki_sm", "hu_core_news_lg"]):
|
17 |
for model in models:
|
18 |
if model.startswith("hu"):
|
19 |
-
huspacy.download(
|
20 |
spacy.cli.download(model)
|
21 |
|
22 |
def build_spacy_path(language: str):
|
|
|
16 |
def download_models(models=["en_core_web_lg", "xx_ent_wiki_sm", "hu_core_news_lg"]):
|
17 |
for model in models:
|
18 |
if model.startswith("hu"):
|
19 |
+
huspacy.download()
|
20 |
spacy.cli.download(model)
|
21 |
|
22 |
def build_spacy_path(language: str):
|