mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Fix imports
This commit is contained in:
parent
a035ebd32a
commit
6b9b444065
|
@ -4,8 +4,8 @@ from __future__ import unicode_literals
|
||||||
import pip
|
import pip
|
||||||
import plac
|
import plac
|
||||||
import requests
|
import requests
|
||||||
from os import path
|
import os
|
||||||
from .link import link, link_package
|
from .link import link_package
|
||||||
from . import about
|
from . import about
|
||||||
from . import util
|
from . import util
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ def get_version(model, comp):
|
||||||
|
|
||||||
def download_model(filename):
|
def download_model(filename):
|
||||||
util.print_msg("Downloading {f}".format(f=filename))
|
util.print_msg("Downloading {f}".format(f=filename))
|
||||||
download_url = path.join(about.__download_url__, filename)
|
download_url = os.path.join(about.__download_url__, filename)
|
||||||
pip.main(['install', download_url])
|
pip.main(['install', download_url])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user