mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Update spacy/cli/find_threshold.py
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
dd84d651c9
commit
0ee225763a
|
@ -153,7 +153,7 @@ def find_threshold(
|
||||||
wasabi.msg.fail(
|
wasabi.msg.fail(
|
||||||
title=f"Failed to look up `{full_key}` in config: sub-key {[keys[0]]} not found.",
|
title=f"Failed to look up `{full_key}` in config: sub-key {[keys[0]]} not found.",
|
||||||
text=f"Make sure you specified {[keys[0]]} correctly. The following sub-keys are available instead: "
|
text=f"Make sure you specified {[keys[0]]} correctly. The following sub-keys are available instead: "
|
||||||
f"{config.keys()}",
|
f"{list(config.keys())}",
|
||||||
exits=1,
|
exits=1,
|
||||||
)
|
)
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user