Skip to content

Commit

Permalink
Update config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefbaranec authored Jan 23, 2025
1 parent 59983f9 commit c48787b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@
{
"name": "Language Detection",
"desc": "A Docker image that automatically detects the language of a PDF file",
"version": {
"major": 1,
"minor": 0
},
"version": "1.0.0",
"icon": "language",
"category": "Metadata",
"configurations": [
{
"program": "docker run --platform linux/amd64 -v ${working_directory}:/data -w /data --rm pdfix/lang-detect:latest --name \"${license_name}\" --key \"${license_key}\" lang-detect -i \"/data/${input_pdf}\" -o \"/data/${output_pdf}\"",
"program": "docker run --platform linux/amd64 -v ${working_directory}:/data -w /data --rm pdfix/detect-language:latest --name \"${license_name}\" --key \"${license_key}\" lang-detect -i \"/data/${input_pdf}\" -o \"/data/${output_pdf}\"",
"name": "Detect Language and Save to PDF",
"desc": "Detect Language and Save to PDF"
},
{
"program": "docker run --platform linux/amd64 -v ${working_directory}:/data -w /data --rm pdfix/lang-detect:latest --name \"${license_name}\" --key \"${license_key}\" lang-detect -i \"/data/${input_pdf}\" -o \"/data/${output_txt}\"",
"program": "docker run --platform linux/amd64 -v ${working_directory}:/data -w /data --rm pdfix/detect-language:latest --name \"${license_name}\" --key \"${license_key}\" lang-detect -i \"/data/${input_pdf}\" -o \"/data/${output_txt}\"",
"name": "Detect Language and Save to TXT",
"desc": "Detect Language and Save to TXT"
}
Expand All @@ -40,7 +37,7 @@
},
{
"name": "output_txt",
"desc": "Output text file with result of detection",
"desc": "Output text file with the result of detection",
"flags": 4,
"type": "file_path",
"ext": "txt",
Expand All @@ -49,4 +46,4 @@
]
}
]
}
}

0 comments on commit c48787b

Please sign in to comment.