mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-13 01:32:32 +03:00
Don't set default value for model
This commit is contained in:
parent
e6ed461b1f
commit
8d8dd9ceb2
|
@ -24,7 +24,7 @@ class CLI(object):
|
||||||
direct=("force direct download. Needs model name with version and won't "
|
direct=("force direct download. Needs model name with version and won't "
|
||||||
"perform compatibility check", "flag", "d", bool)
|
"perform compatibility check", "flag", "d", bool)
|
||||||
)
|
)
|
||||||
def download(self, model=None, direct=False):
|
def download(self, model, direct=False):
|
||||||
"""
|
"""
|
||||||
Download compatible model from default download path using pip. Model
|
Download compatible model from default download path using pip. Model
|
||||||
can be shortcut, model name or, if --direct flag is set, full model name
|
can be shortcut, model name or, if --direct flag is set, full model name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user