mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-27 20:33:42 +03:00
Fix download CLI [ci skip]
This commit is contained in:
parent
3b58a8be2b
commit
24e7ac3f2b
|
@ -88,7 +88,6 @@ def get_compatibility() -> dict:
|
||||||
|
|
||||||
|
|
||||||
def get_version(model: str, comp: dict) -> str:
|
def get_version(model: str, comp: dict) -> str:
|
||||||
model = get_base_version(model)
|
|
||||||
if model not in comp:
|
if model not in comp:
|
||||||
msg.fail(
|
msg.fail(
|
||||||
f"No compatible package found for '{model}' (spaCy v{about.__version__})",
|
f"No compatible package found for '{model}' (spaCy v{about.__version__})",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user