mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix typo
This commit is contained in:
parent
b6002db797
commit
848e47669e
|
@ -27,7 +27,7 @@ def info(cmd, model=None, markdown=False):
|
||||||
meta_path = model_path / 'meta.json'
|
meta_path = model_path / 'meta.json'
|
||||||
if not meta_path.is_file():
|
if not meta_path.is_file():
|
||||||
util.prints(meta_path, title="Can't find model meta.json", exits=1)
|
util.prints(meta_path, title="Can't find model meta.json", exits=1)
|
||||||
meta = read_json(meta_path)
|
meta = util.read_json(meta_path)
|
||||||
if model_path.resolve() != model_path:
|
if model_path.resolve() != model_path:
|
||||||
meta['link'] = path2str(model_path)
|
meta['link'] = path2str(model_path)
|
||||||
meta['source'] = path2str(model_path.resolve())
|
meta['source'] = path2str(model_path.resolve())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user