File size: 2,259 Bytes
44d964a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
62
{
    "models": [
        // Configuration for the built-in models. You can remove any of these 
        // if you don't want to use the default models.
        {
            "name": "tiny",
            "url": "tiny" 
        },
        {
            "name": "base",
            "url": "base"
        },
        {
            "name": "small",
            "url": "small"
        },
        {
            "name": "medium",
            "url": "medium"
        },
        {
            "name": "large",
            "url": "large"
        },
        {
            "name": "large-v2",
            "url": "large-v2"
        },
        // Uncomment to add custom Japanese models
        //{
        //    "name": "whisper-large-v2-mix-jp",
        //    "url": "vumichien/whisper-large-v2-mix-jp",
        //    // The type of the model. Can be "huggingface" or "whisper" - "whisper" is the default.
        //    // HuggingFace models are loaded using the HuggingFace transformers library and then converted to Whisper models.
        //    "type": "huggingface",
        //}
    ],
    // Configuration options that will be used if they are not specified in the command line arguments.

    // Maximum audio file length in seconds, or -1 for no limit.
    "input_audio_max_duration": 600,
    // True to share the app on HuggingFace.
    "share": false,
    // The host or IP to bind to. If None, bind to localhost.
    "server_name": null,
    // The port to bind to.
    "server_port": 7860,
    // The default model name.
    "default_model_name": "medium",
    // The default VAD.
    "default_vad": "silero-vad",
    // A commma delimited list of CUDA devices to use for parallel processing. If None, disable parallel processing.
    "vad_parallel_devices": "",
    // The number of CPU cores to use for VAD pre-processing.
    "vad_cpu_cores": 1,
    // The number of seconds before inactivate processes are terminated. Use 0 to close processes immediately, or None for no timeout.
    "vad_process_timeout": 1800,
    // True to use all available GPUs and CPU cores for processing. Use vad_cpu_cores/vad_parallel_devices to specify the number of CPU cores/GPUs to use.
    "auto_parallel": false,
    // Directory to save the outputs
    "output_dir": null
}