Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
AIdeaText/test
AIdeaText
/
test2
like
0
Running
App
Files
Files
Community
8ad32f8
test2
/
modules
/
spacy_utils.py
AIdeaText
Update modules/spacy_utils.py
88bc6fb
verified
4 months ago
raw
Copy download link
history
blame
Safe
215 Bytes
# modules/spacy_utils.py
import
spacy
def
load_spacy_models
():
return
{
'es'
: spacy.load(
"es_core_news_lg"
),
'en'
: spacy.load(
"en_core_web_lg"
),
'fr'
: spacy.load(
"fr_core_news_lg"
)
}