mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
nixos/wyoming-faster-whisper: update model option
This commit is contained in:
parent
2148c8bfaa
commit
3bc33ba58d
|
@ -37,22 +37,13 @@ in
|
||||||
enable = mkEnableOption (mdDoc "Wyoming faster-whisper server");
|
enable = mkEnableOption (mdDoc "Wyoming faster-whisper server");
|
||||||
|
|
||||||
model = mkOption {
|
model = mkOption {
|
||||||
# Intersection between available and referenced models here:
|
type = str;
|
||||||
# https://github.com/rhasspy/models/releases/tag/v1.0
|
|
||||||
# https://github.com/rhasspy/rhasspy3/blob/wyoming-v1/programs/asr/faster-whisper/server/wyoming_faster_whisper/download.py#L17-L27
|
|
||||||
type = enum [
|
|
||||||
"tiny"
|
|
||||||
"tiny-int8"
|
|
||||||
"base"
|
|
||||||
"base-int8"
|
|
||||||
"small"
|
|
||||||
"small-int8"
|
|
||||||
"medium-int8"
|
|
||||||
];
|
|
||||||
default = "tiny-int8";
|
default = "tiny-int8";
|
||||||
example = "medium-int8";
|
example = "Systran/faster-distil-whisper-small.en";
|
||||||
description = mdDoc ''
|
description = mdDoc ''
|
||||||
Name of the voice model to use.
|
Name of the voice model to use.
|
||||||
|
|
||||||
|
Check the [2.0.0 release notes](https://github.com/rhasspy/wyoming-faster-whisper/releases/tag/v2.0.0) for possible values.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue