-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnextflow_schema.json
61 lines (61 loc) · 2.08 KB
/
nextflow_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/mribeirodantas/nf-whisper/blob/main/nextflow_schema.json",
"title": "nf-whisper pipeline parameters",
"description": "Schema for the nf-whisper Nextflow pipeline parameters",
"type": "object",
"definitions": {
"input_output_options": {
"title": "Input/Output Options",
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Select Whisper pre-trained model",
"help_text": "The .en models are the English-only versions of the respective models.",
"default": "tiny",
"enum": ["tiny", "base", "small", "medium", "large", "tiny.en", "base.en", "small.en", "medium.en"]
},
"youtube_url": {
"type": "string",
"description": "YouTube URL",
"format": "file-path",
"fa_icon": "fas fa-cloud-download-alt",
"help_text": "Provide a YouTube URL to download the audio and generate transcription",
"default": "https://www.youtube.com/watch?v=UVzLd304keA"
},
"file": {
"type": "string",
"description": "Generate transcription from this audio file",
"format": "file-path",
"fa_icon": "fas fa-file-audio",
"help_text": "Provide the path to a audio file to generate transcription"
},
"outdir": {
"type": "string",
"description": "Path to store transcriptions",
"default": "."
}
}
},
"processing_options": {
"title": "Processing Options",
"type": "object",
"properties": {
"timestamp": {
"type": "boolean",
"description": "Print timestamps with each speech segment",
"default": false
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/input_output_options"
},
{
"$ref": "#/definitions/processing_options"
}
]
}