mirror of https://github.com/explosion/spaCy.git
Make message on failed linking more clear
This commit is contained in:
parent
1fa6ba8130
commit
8ba0dfd017
|
@ -49,8 +49,7 @@ def download(cmd, model, direct=False):
|
||||||
"you don't have admin permissions?), but you can still "
|
"you don't have admin permissions?), but you can still "
|
||||||
"load the model via its full package name:",
|
"load the model via its full package name:",
|
||||||
"nlp = spacy.load('%s')" % model_name,
|
"nlp = spacy.load('%s')" % model_name,
|
||||||
title="Download successful")
|
title="Download successful but linking failed")
|
||||||
|
|
||||||
|
|
||||||
def get_json(url, desc):
|
def get_json(url, desc):
|
||||||
r = requests.get(url)
|
r = requests.get(url)
|
||||||
|
|
Loading…
Reference in New Issue