about summary refs log tree commit diff
path: root/pkgs/tools/audio
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2023-01-31 14:02:50 +0000
committerGitHub <noreply@github.com>2023-01-31 14:02:50 +0000
commit67e156a1e44c26663f35db8560ecfe71d5788c3f (patch)
tree61bd8f4ce80aa7379d9ff4bd29171ae55fd37afc /pkgs/tools/audio
parentb6606e2d167ce5ac61223cd975d074e3deb77f1d (diff)
parent1ae2059a34133265e17255e24ebd58ce1a3fa1a0 (diff)
Merge pull request #212125 from Mic92/tts-fix
tts: drop dependency on umap-learn
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r--pkgs/tools/audio/tts/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix
index 3e6bed334c29b..d943e43b76b96 100644
--- a/pkgs/tools/audio/tts/default.nix
+++ b/pkgs/tools/audio/tts/default.nix
@@ -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
   ];