diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-13 00:29:54 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-23 23:29:06 +0100 |
commit | 3bc33ba58d98fcedf4435d60f7d1c534dbb6a93e (patch) | |
tree | 06b593a5d86e9de24450b8f4a71bfb92c6cf303f | |
parent | 2148c8bfaa23488c19ed922f8c9cb616b5b77435 (diff) | |
download | nixlib-3bc33ba58d98fcedf4435d60f7d1c534dbb6a93e.tar nixlib-3bc33ba58d98fcedf4435d60f7d1c534dbb6a93e.tar.gz nixlib-3bc33ba58d98fcedf4435d60f7d1c534dbb6a93e.tar.bz2 nixlib-3bc33ba58d98fcedf4435d60f7d1c534dbb6a93e.tar.lz nixlib-3bc33ba58d98fcedf4435d60f7d1c534dbb6a93e.tar.xz nixlib-3bc33ba58d98fcedf4435d60f7d1c534dbb6a93e.tar.zst nixlib-3bc33ba58d98fcedf4435d60f7d1c534dbb6a93e.zip |
nixos/wyoming-faster-whisper: update model option
-rw-r--r-- | nixos/modules/services/audio/wyoming/faster-whisper.nix | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/nixos/modules/services/audio/wyoming/faster-whisper.nix b/nixos/modules/services/audio/wyoming/faster-whisper.nix index dd7f62744cd0..0c36e8c9ab05 100644 --- a/nixos/modules/services/audio/wyoming/faster-whisper.nix +++ b/nixos/modules/services/audio/wyoming/faster-whisper.nix @@ -37,22 +37,13 @@ in enable = mkEnableOption (mdDoc "Wyoming faster-whisper server"); model = mkOption { - # Intersection between available and referenced models here: - # 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" - ]; + type = str; default = "tiny-int8"; - example = "medium-int8"; + example = "Systran/faster-distil-whisper-small.en"; description = mdDoc '' 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. ''; }; |