mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
Fix error message for displacy auto_select_port (#12343)
This commit is contained in:
parent
be673462be
commit
18f4378a91
|
@ -967,7 +967,7 @@ class Errors(metaclass=ErrorsWithCodes):
|
||||||
E1049 = ("No available port found for displaCy on host {host}. Please specify an available port "
|
E1049 = ("No available port found for displaCy on host {host}. Please specify an available port "
|
||||||
"with `displacy.serve(doc, port=port)`")
|
"with `displacy.serve(doc, port=port)`")
|
||||||
E1050 = ("Port {port} is already in use. Please specify an available port with `displacy.serve(doc, port=port)` "
|
E1050 = ("Port {port} is already in use. Please specify an available port with `displacy.serve(doc, port=port)` "
|
||||||
"or use `auto_switch_port=True` to pick an available port automatically.")
|
"or use `auto_select_port=True` to pick an available port automatically.")
|
||||||
|
|
||||||
|
|
||||||
# Deprecated model shortcuts, only used in errors and warnings
|
# Deprecated model shortcuts, only used in errors and warnings
|
||||||
|
|
Loading…
Reference in New Issue
Block a user