mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +03:00 
			
		
		
		
	Fix error message for displacy auto_select_port (#12343)
This commit is contained in:
		
							parent
							
								
									071667376a
								
							
						
					
					
						commit
						8f058e39bd
					
				|  | @ -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