wyoming-faster-whisper: 3.1.0 -> 3.2.0 (#532132)
This commit is contained in:
@@ -39,6 +39,17 @@ in
|
||||
options = {
|
||||
enable = mkEnableOption "Wyoming faster-whisper server";
|
||||
|
||||
task = mkOption {
|
||||
type = enum [
|
||||
"transcribe"
|
||||
"translate"
|
||||
];
|
||||
default = "transcribe";
|
||||
description = ''
|
||||
Whisper task to perform.
|
||||
'';
|
||||
};
|
||||
|
||||
zeroconf = {
|
||||
enable = mkEnableOption "zeroconf discovery" // {
|
||||
default = true;
|
||||
@@ -349,6 +360,8 @@ in
|
||||
options.uri
|
||||
"--device"
|
||||
options.device
|
||||
"--whisper-task"
|
||||
options.task
|
||||
"--stt-library"
|
||||
options.sttLibrary
|
||||
"--model"
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "wyoming-faster-whisper";
|
||||
version = "3.1.0";
|
||||
version = "3.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "wyoming-faster-whisper";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-p1FCyj/D7ndKJD1/V5YzhT0xlkg61DSx2m3DCELmPO8=";
|
||||
hash = "sha256-4tgBsraFd7IUHw6p/59FHzuUISOaALxBU7H8V0yQl0E=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
@@ -25,11 +25,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
"wyoming"
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
# https://github.com/rhasspy/wyoming-faster-whisper/pull/81
|
||||
"requests"
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
faster-whisper
|
||||
wyoming
|
||||
@@ -58,7 +53,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
"wyoming_faster_whisper"
|
||||
];
|
||||
|
||||
# no tests
|
||||
# tests require models from huggingface
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user