From 11615be6b28bcf443332518f76e7cb303d69de81 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky <38561704+bertsky@users.noreply.github.com> Date: Thu, 10 Feb 2022 17:38:37 +0100 Subject: [PATCH] ocrd-tool.json: add model content-type, remove glob variant --- ocrd_calamari/ocrd-tool.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ocrd_calamari/ocrd-tool.json b/ocrd_calamari/ocrd-tool.json index f5e8c91..7f6d2d7 100644 --- a/ocrd_calamari/ocrd-tool.json +++ b/ocrd_calamari/ocrd-tool.json @@ -20,11 +20,11 @@ "parameters": { "checkpoint_dir": { "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" - }, - "checkpoint": { - "description": "The calamari model files (*.ckpt.json)", - "type": "string", "format": "file", "cacheable": true + "type": "string", + "format": "uri", + "content-type": "text/directory", + "cacheable": true, + "default": "qurator-gt4histocr-1.0" }, "voter": { "description": "The voting algorithm to use",