mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Use new model templates
This commit is contained in:
parent
b5bfab8699
commit
9e83a17e95
|
@ -14,4 +14,4 @@ __docs_models__ = 'https://spacy.io/docs/usage/models'
|
|||
__download_url__ = 'https://github.com/explosion/spacy-models/releases/download'
|
||||
__compatibility__ = 'https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json'
|
||||
__shortcuts__ = 'https://raw.githubusercontent.com/explosion/spacy-models/master/shortcuts.json'
|
||||
__model_files__ = 'https://raw.githubusercontent.com/explosion/spacy-dev-resources/master/templates/model/'
|
||||
__model_files__ = 'https://raw.githubusercontent.com/explosion/spacy-dev-resources/v2/templates/model/'
|
||||
|
|
|
@ -36,7 +36,7 @@ def package(cmd, input_dir, output_dir, meta=None, force=False):
|
|||
|
||||
template_setup = get_template('setup.py')
|
||||
template_manifest = get_template('MANIFEST.in')
|
||||
template_init = get_template('en_model_name/__init__.py')
|
||||
template_init = get_template('xx_model_name/__init__.py')
|
||||
meta_path = meta_path or input_path / 'meta.json'
|
||||
if meta_path.is_file():
|
||||
prints(meta_path, title="Reading meta.json from file")
|
||||
|
|
Loading…
Reference in New Issue
Block a user