mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	* Fix download script
This commit is contained in:
		
							parent
							
								
									6f9ebc2f34
								
							
						
					
					
						commit
						83a4df5a1a
					
				| 
						 | 
					@ -40,7 +40,7 @@ def install_dep_vectors(url, dest_dir):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def main():
 | 
					def main():
 | 
				
			||||||
    if not path.exists(DEST_DIR):
 | 
					    if not path.exists(DEST_DIR):
 | 
				
			||||||
        install_sm_data(SM_DATA_DIR_URL, path.dirname(DEST_DIR))
 | 
					        install_data(SM_DATA_DIR_URL, path.dirname(DEST_DIR))
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
        install_parser_model(PARSER_URL, DEST_DIR)
 | 
					        install_parser_model(PARSER_URL, DEST_DIR)
 | 
				
			||||||
        install_dep_vectors(DEP_VECTORS_URL, path.join(DEST_DIR, 'vocab'))
 | 
					        install_dep_vectors(DEP_VECTORS_URL, path.join(DEST_DIR, 'vocab'))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user