tts: 0.8.0 -> 0.9.0

https://github.com/coqui-ai/TTS/releases/tag/v0.9.0
This commit is contained in:
Martin Weinelt 2022-11-17 14:27:35 +01:00
parent ad3e05e910
commit 6f2d014399
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -32,14 +32,14 @@ let
in
python.pkgs.buildPythonApplication rec {
pname = "tts";
version = "0.8.0";
format = "setuptools";
version = "0.9.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "coqui-ai";
repo = "TTS";
rev = "v${version}";
sha256 = "sha256-A48L1JGXckSEaZra00ZOBVxcYJMvhpQqzE8nABaP0TY=";
sha256 = "sha256-p4I583Rs/4eig7cnOcJjri2ugOLAeF2nvPIvMZrN1Ss=";
};
postPatch = let
@ -53,7 +53,6 @@ python.pkgs.buildPythonApplication rec {
"numpy"
"umap-learn"
"unidic-lite"
"pyworld"
];
in ''
sed -r -i \
@ -61,7 +60,6 @@ python.pkgs.buildPythonApplication rec {
''-e 's/${package}.*[<>=]+.*/${package}/g' \''
) relaxedConstraints)}
requirements.txt
sed -i '/tensorboardX/d' requirements.txt
'';
nativeBuildInputs = with python.pkgs; [
@ -73,18 +71,20 @@ python.pkgs.buildPythonApplication rec {
coqpit
flask
fsspec
g2pkk
gdown
gruut
inflect
jamo
jieba
librosa
matplotlib
mecab-python3
nltk
numba
pandas
pypinyin
pysbd
pyworld
scipy
soundfile
tensorflow
@ -127,15 +127,17 @@ python.pkgs.buildPythonApplication rec {
disabledTests = [
# Requires network acccess to download models
"test_synthesize"
"test_korean_text_to_phonemes"
"test_models_offset_0_step_3"
"test_models_offset_1_step_3"
"test_models_offset_2_step_3"
"test_run_all_models"
"test_synthesize"
"test_voice_conversion"
# Mismatch between phonemes
"test_text_to_ids_phonemes_with_eos_bos_and_blank"
# Takes too long
"test_parametrized_wavernn_dataset"
# requires network
"test_voice_conversion"
];
disabledTestPaths = [