Merge pull request #212125 from Mic92/tts-fix

tts: drop dependency on umap-learn
This commit is contained in:
Jörg Thalheim 2023-01-31 14:02:50 +00:00 committed by GitHub
commit 67e156a1e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,6 @@ python.pkgs.buildPythonApplication rec {
"mecab-python3"
"numba"
"numpy"
"umap-learn"
"unidic-lite"
];
in ''
@ -74,6 +73,8 @@ python.pkgs.buildPythonApplication rec {
''-e 's/${package}.*[<>=]+.*/${package}/g' \''
) relaxedConstraints)}
requirements.txt
# only used for notebooks and visualization
sed -r -i -e '/umap-learn/d' requirements.txt
'';
nativeBuildInputs = with python.pkgs; [
@ -108,7 +109,6 @@ python.pkgs.buildPythonApplication rec {
torchaudio-bin
tqdm
trainer
umap-learn
unidic-lite
webrtcvad
];