mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-25 00:34:20 +03:00
Merge branch 'master' of https://github.com/explosion/spaCy
This commit is contained in:
commit
9790b5469a
|
@ -73,6 +73,7 @@ def get_compatibility():
|
|||
|
||||
|
||||
def get_version(model, comp):
|
||||
model = model.rsplit('.dev', 1)[0]
|
||||
if model not in comp:
|
||||
version = about.__version__
|
||||
msg = "No compatible model found for '%s' (spaCy v%s)."
|
||||
|
|
Loading…
Reference in New Issue
Block a user