mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Set 'submitted' as initial job status value.
This commit is contained in:
parent
ed2d1abd8c
commit
0ac3ed3a29
@ -26,7 +26,7 @@ def ocr():
|
|||||||
"--skip-binarisation"],
|
"--skip-binarisation"],
|
||||||
"lang": new_ocr_job_form.language.data,
|
"lang": new_ocr_job_form.language.data,
|
||||||
"version": new_ocr_job_form.version.data}),
|
"version": new_ocr_job_form.version.data}),
|
||||||
status="queued",
|
status="submitted",
|
||||||
title=new_ocr_job_form.title.data)
|
title=new_ocr_job_form.title.data)
|
||||||
db.session.add(ocr_job)
|
db.session.add(ocr_job)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
@ -75,7 +75,7 @@ def nlp():
|
|||||||
service_args=json.dumps({"args": [],
|
service_args=json.dumps({"args": [],
|
||||||
"lang": new_nlp_job_form.language.data,
|
"lang": new_nlp_job_form.language.data,
|
||||||
"version": new_nlp_job_form.version.data}),
|
"version": new_nlp_job_form.version.data}),
|
||||||
status="queued",
|
status="submitted",
|
||||||
title=new_nlp_job_form.title.data)
|
title=new_nlp_job_form.title.data)
|
||||||
db.session.add(nlp_job)
|
db.session.add(nlp_job)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
Loading…
Reference in New Issue
Block a user