mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 19:04:18 +00:00
Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus
This commit is contained in:
commit
078f88d4ec
@ -50,7 +50,7 @@ def create_spacy_nlp_pipeline_model():
|
|||||||
flash(f'SpaCy NLP Pipeline model "{snpm.title}" created')
|
flash(f'SpaCy NLP Pipeline model "{snpm.title}" created')
|
||||||
return {}, 201, {'Location': url_for('.spacy_nlp_pipeline_models')}
|
return {}, 201, {'Location': url_for('.spacy_nlp_pipeline_models')}
|
||||||
return render_template(
|
return render_template(
|
||||||
'contributions/spacy_nlp_pipeline_models/create_spacy_nlp_pipeline_model.html.j2',
|
'contributions/spacy_nlp_pipeline_models/create.html.j2',
|
||||||
title='Create SpaCy NLP Pipeline Model',
|
title='Create SpaCy NLP Pipeline Model',
|
||||||
form=form
|
form=form
|
||||||
)
|
)
|
||||||
|
@ -49,7 +49,7 @@ def create_tesseract_ocr_pipeline_model():
|
|||||||
flash(f'Tesseract OCR Pipeline model "{topm.title}" created')
|
flash(f'Tesseract OCR Pipeline model "{topm.title}" created')
|
||||||
return {}, 201, {'Location': url_for('.tesseract_ocr_pipeline_models')}
|
return {}, 201, {'Location': url_for('.tesseract_ocr_pipeline_models')}
|
||||||
return render_template(
|
return render_template(
|
||||||
'contributions/tesseract_ocr_pipeline_models/create_tesseract_ocr_pipeline_model.html.j2',
|
'contributions/tesseract_ocr_pipeline_models/create.html.j2',
|
||||||
title='Create Tesseract OCR Pipeline Model',
|
title='Create Tesseract OCR Pipeline Model',
|
||||||
form=form
|
form=form
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user