spacy starting warning log
This commit is contained in:
parent
dc23d6a80a
commit
6f75239397
@ -9,6 +9,7 @@ def get_spacy_nlp():
|
|||||||
global nlp
|
global nlp
|
||||||
|
|
||||||
if nlp is None:
|
if nlp is None:
|
||||||
|
print("A Spacy model is starting, it might take a few seconds (starts only once)")
|
||||||
nlp = spacy.load(languages_utils.get_spacy_model())
|
nlp = spacy.load(languages_utils.get_spacy_model())
|
||||||
return nlp
|
return nlp
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user