vtest image testing

This commit is contained in:
Inga Kirschnick 2022-11-10 13:33:13 +01:00
parent ad17ec2cc8
commit a8af1f3d23
3 changed files with 18 additions and 11 deletions

View File

@ -42,6 +42,7 @@
version: '3.2.0' version: '3.2.0'
compatible_service_versions: compatible_service_versions:
- '0.1.0' - '0.1.0'
- 'test'
- title: 'Spanish' - title: 'Spanish'
description: 'Spanish pipeline optimized for CPU. Components: tok2vec, morphologizer, parser, senter, ner, attribute_ruler, lemmatizer.' description: 'Spanish pipeline optimized for CPU. Components: tok2vec, morphologizer, parser, senter, ner, attribute_ruler, lemmatizer.'
url: 'https://github.com/explosion/spacy-models/releases/download/es_core_news_md-3.2.0/es_core_news_md-3.2.0.tar.gz' url: 'https://github.com/explosion/spacy-models/releases/download/es_core_news_md-3.2.0/es_core_news_md-3.2.0.tar.gz'

View File

@ -146,6 +146,7 @@ class CreateSpacyNLPPipelineJobForm(CreateJobBaseForm):
version = kwargs.pop('version', service_manifest['latest_version']) version = kwargs.pop('version', service_manifest['latest_version'])
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
service_info = service_manifest['versions'][version] service_info = service_manifest['versions'][version]
print(service_info)
if self.encoding_detection.render_kw is None: if self.encoding_detection.render_kw is None:
self.encoding_detection.render_kw = {} self.encoding_detection.render_kw = {}
self.encoding_detection.render_kw['disabled'] = True self.encoding_detection.render_kw['disabled'] = True

View File

@ -45,16 +45,21 @@ spacy-nlp-pipeline:
0.1.0: 0.1.0:
methods: methods:
- 'encoding_detection' - 'encoding_detection'
models: # models:
ca: 'Catalan' # ca: 'Catalan'
de: 'German' # de: 'German'
el: 'Greek' # el: 'Greek'
en: 'English' # en: 'English'
es: 'Spanish' # es: 'Spanish'
fr: 'French' # fr: 'French'
it: 'Italian' # it: 'Italian'
pl: 'Polish' # pl: 'Polish'
ru: 'Russian' # ru: 'Russian'
zh: 'Chinese' # zh: 'Chinese'
publishing_year: 2022 publishing_year: 2022
url: 'https://gitlab.ub.uni-bielefeld.de/sfb1288inf/spacy-nlp-pipeline/-/releases/v0.1.0' url: 'https://gitlab.ub.uni-bielefeld.de/sfb1288inf/spacy-nlp-pipeline/-/releases/v0.1.0'
test:
methods:
- 'encoding_detection'
publishing_year: 2022
url: 'https://gitlab.ub.uni-bielefeld.de/sfb1288inf/spacy-nlp-pipeline/