mirror of https://github.com/explosion/spaCy.git
Fix formatting [ci skip]
This commit is contained in:
parent
d5bce35fb1
commit
a3723f439c
|
@ -19,7 +19,7 @@ msg = Printer()
|
||||||
@plac.annotations(
|
@plac.annotations(
|
||||||
model=("Model to download (shortcut or name)", "positional", None, str),
|
model=("Model to download (shortcut or name)", "positional", None, str),
|
||||||
direct=("Force direct download of name + version", "flag", "d", bool),
|
direct=("Force direct download of name + version", "flag", "d", bool),
|
||||||
pip_args=("additional arguments to be passed to `pip install` on model install"),
|
pip_args=("Additional arguments to be passed to `pip install` on model install"),
|
||||||
)
|
)
|
||||||
def download(model, direct=False, *pip_args):
|
def download(model, direct=False, *pip_args):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue