mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Fix tesseract-ocr-pipeline job creation process
This commit is contained in:
parent
9c49c164de
commit
28b1461ef9
@ -109,7 +109,7 @@ def _create_job_service(job):
|
||||
job.status = JobStatus.FAILED
|
||||
return
|
||||
models_mount_source = model.path
|
||||
models_mount_target = f'/usr/local/share/tessdata/{model.filename}'
|
||||
models_mount_target = f'/usr/local/share/tessdata/{model.id}.traineddata'
|
||||
models_mount = f'{models_mount_source}:{models_mount_target}:ro'
|
||||
mounts.append(models_mount)
|
||||
elif job.service == 'spacy-nlp-pipeline':
|
||||
|
Loading…
Reference in New Issue
Block a user