en_ner_fashion / __init__.py
osanseviero's picture
Update spaCy pipeline
1c0fe98
raw
history blame
237 Bytes
from pathlib import Path
from spacy.util import load_model_from_init_py, get_model_meta
__version__ = get_model_meta(Path(__file__).parent)['version']
def load(**overrides):
return load_model_from_init_py(__file__, **overrides)