mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +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 "
|
||||
"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
|
||||
can be shortcut, model name or, if --direct flag is set, full model name
|
||||
|
|
Loading…
Reference in New Issue
Block a user