mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Merge pull request #697 from jmizgajski/patch-1
Fixed missing vec_path declaration that was failing if 'add_vectors' …
This commit is contained in:
		
						commit
						f3c61ae246
					
				| 
						 | 
				
			
			@ -44,6 +44,7 @@ def _fix_deprecated_glove_vectors_loading(overrides):
 | 
			
		|||
    else:
 | 
			
		||||
        path = overrides['path']
 | 
			
		||||
        data_path = path.parent
 | 
			
		||||
    vec_path = None
 | 
			
		||||
    if 'add_vectors' not in overrides:
 | 
			
		||||
        if 'vectors' in overrides:
 | 
			
		||||
            vec_path = match_best_version(overrides['vectors'], None, data_path)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user