1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-06-09 03:39:55 +02:00

ocrd-tool.json: add model content-type, remove glob variant

This commit is contained in:
Robert Sachunsky 2022-02-10 17:38:37 +01:00 committed by GitHub
parent 76b34c50cb
commit 11615be6b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,11 +20,11 @@
"parameters": { "parameters": {
"checkpoint_dir": { "checkpoint_dir": {
"description": "The directory containing calamari model files (*.ckpt.json). Uses all checkpoints in that directory", "description": "The directory containing calamari model files (*.ckpt.json). Uses all checkpoints in that directory",
"type": "string", "format": "file", "cacheable": true, "default": "qurator-gt4histocr-1.0" "type": "string",
}, "format": "uri",
"checkpoint": { "content-type": "text/directory",
"description": "The calamari model files (*.ckpt.json)", "cacheable": true,
"type": "string", "format": "file", "cacheable": true "default": "qurator-gt4histocr-1.0"
}, },
"voter": { "voter": {
"description": "The voting algorithm to use", "description": "The voting algorithm to use",