about summary refs log tree commit diff
path: root/pkgs/tools/audio
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-01-22 15:51:49 +0100
committerJörg Thalheim <joerg@thalheim.io>2023-01-22 16:00:14 +0100
commit1ae2059a34133265e17255e24ebd58ce1a3fa1a0 (patch)
tree0ada2d413f3bfc62f00886c730d6979ffc3a887d /pkgs/tools/audio
parentfbcb61ba4790126455f5fe0a2dbd194c6776ea9c (diff)
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 0a084498a96d7..1f7e9769504d7 100644
--- a/pkgs/tools/audio/tts/default.nix
+++ b/pkgs/tools/audio/tts/default.nix
@@ -51,7 +51,6 @@ python.pkgs.buildPythonApplication rec {
       "mecab-python3"
       "numba"
       "numpy"
-      "umap-learn"
       "unidic-lite"
     ];
   in ''
@@ -60,6 +59,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; [
@@ -92,7 +93,6 @@ python.pkgs.buildPythonApplication rec {
     torchaudio-bin
     tqdm
     trainer
-    umap-learn
     unidic-lite
     webrtcvad
   ];