fix(wyoming): get rid of onnx error
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
c75cb0759d
commit
ce9bb61f7f
1 changed files with 8 additions and 3 deletions
|
@ -3,13 +3,14 @@ This package uses a `wyoming-openwakeword` fork that makes use of
|
|||
the upstream `openwakeword` instead of a fork: https://github.com/rhasspy/wyoming-openwakeword/pull/27
|
||||
*/
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
onnxruntime,
|
||||
openwakeword,
|
||||
python3Packages,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) attrValues;
|
||||
inherit (lib) attrValues makeLibraryPath;
|
||||
in
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "wyoming-openwakeword";
|
||||
|
@ -19,7 +20,6 @@ in
|
|||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "wyoming-openwakeword";
|
||||
# rev = "synesthesiam-20240627-openwakeword";
|
||||
rev = "324d669645a778439c5392d9e287a763ead3cf4c";
|
||||
hash = "sha256-69oR2LHiUfx8j39nWp7XhG5xTvmOoPCLjSlH1CFvavo=";
|
||||
};
|
||||
|
@ -48,6 +48,11 @@ in
|
|||
"wyoming_openwakeword"
|
||||
];
|
||||
|
||||
# Native onnxruntime lib used by Python module onnxruntime can't find its other libs without this
|
||||
makeWrapperArgs = [
|
||||
''--prefix LD_LIBRARY_PATH : "${makeLibraryPath [onnxruntime]}"''
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Open source voice assistant toolkit for many human languages";
|
||||
homepage = "https://github.com/rhasspy/wyoming-openwakeword";
|
||||
|
|
Loading…
Reference in a new issue