Commit 1adb29f2 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent 0272199f
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -22,18 +22,21 @@
  typer,
  typing-extensions,
  uvicorn,

  # optional-dependencies
  soundfile,
}:

buildPythonPackage (finalAttrs: {
  pname = "pocket-tts";
  version = "1.0.1";
  version = "1.0.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "kyutai-labs";
    repo = "pocket-tts";
    tag = "v${finalAttrs.version}";
    hash = "sha256-VFLpUsHnQYSr5RgNKJOX1TD30o1A8rG4cs2VeZWriaU=";
    hash = "sha256-m//UCZEENE5bl9TV0rDCA3Th1TykvC5oZLay+f7lEr8=";
  };

  build-system = [
@@ -62,6 +65,12 @@ buildPythonPackage (finalAttrs: {
    uvicorn
  ];

  optional-dependencies = {
    audio = [
      soundfile
    ];
  };

  pythonImportsCheck = [ "pocket_tts" ];

  # All tests are failing as the model cannot be downloaded from the sandbox