mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
Manually add Caroline Minuscle Model to HTR service
This commit is contained in:
parent
f5a1cf75dd
commit
55b7428045
@ -125,6 +125,8 @@ def transkribus_htr_pipeline():
|
|||||||
if r.status_code != 200:
|
if r.status_code != 200:
|
||||||
abort(500)
|
abort(500)
|
||||||
transkribus_htr_pipeline_models = r.json()['trpModelMetadata']
|
transkribus_htr_pipeline_models = r.json()['trpModelMetadata']
|
||||||
|
transkribus_htr_pipeline_models.append({'modelId': 48513, 'name': 'Caroline Minuscle', 'language': 'lat', 'isoLanguages': ['lat']})
|
||||||
|
print(transkribus_htr_pipeline_models[len(transkribus_htr_pipeline_models)-1])
|
||||||
form = CreateTranskribusHTRPipelineJobForm(
|
form = CreateTranskribusHTRPipelineJobForm(
|
||||||
transkribus_htr_pipeline_models=transkribus_htr_pipeline_models,
|
transkribus_htr_pipeline_models=transkribus_htr_pipeline_models,
|
||||||
prefix='create-job-form',
|
prefix='create-job-form',
|
||||||
|
Loading…
Reference in New Issue
Block a user