Compare commits
2 commits
eff0a607d2
...
83ec9934ab
Author | SHA1 | Date | |
---|---|---|---|
83ec9934ab | |||
b4e763eb45 |
|
@ -1,4 +1,4 @@
|
|||
{ lib, python311Packages }:
|
||||
{ lib, python311Packages, pkgs }:
|
||||
with python311Packages;
|
||||
let
|
||||
# Stripped down version of the tts package (original is broken and needs cuda)
|
||||
|
@ -15,6 +15,8 @@ let
|
|||
};
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ pkgs.espeak-ng ];
|
||||
|
||||
dependencies = [
|
||||
cython
|
||||
numpy
|
||||
|
@ -34,6 +36,7 @@ let
|
|||
jamo
|
||||
jieba
|
||||
pypinyin
|
||||
pkgs.espeak
|
||||
];
|
||||
};
|
||||
in
|
||||
|
|
|
@ -96,7 +96,7 @@ in
|
|||
WorkingDirectory = cfg.cache-dir;
|
||||
};
|
||||
script = ''
|
||||
${cfg.package}/bin/mena-tts
|
||||
${cfg.package}/bin/mensa_to_speech
|
||||
${cfg.package}/bin/fm_feed_wav --local-addr ${cfg.local-address} \
|
||||
--local-port ${cfg.local-port} \
|
||||
--local-addr ${cfg.local-address} \
|
||||
|
|
Loading…
Reference in a new issue