From e88468640f13e219aef77d7210b4f915506ad408 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 24 Oct 2024 11:40:35 +0200 Subject: [PATCH] fix(parler-tts): use latest audiotools (#3954) Signed-off-by: Ettore Di Giacinto --- backend/python/parler-tts/install.sh | 14 +++++++------- backend/python/parler-tts/requirements-after.txt | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/backend/python/parler-tts/install.sh b/backend/python/parler-tts/install.sh index aae690c4..954c6702 100755 --- a/backend/python/parler-tts/install.sh +++ b/backend/python/parler-tts/install.sh @@ -15,12 +15,12 @@ installRequirements # https://github.com/descriptinc/audiotools/issues/101 # incompatible protobuf versions. -PYDIR=python3.10 -pyenv="${MY_DIR}/venv/lib/${PYDIR}/site-packages/google/protobuf/internal/" +# PYDIR=python3.10 +# pyenv="${MY_DIR}/venv/lib/${PYDIR}/site-packages/google/protobuf/internal/" -if [ ! -d ${pyenv} ]; then - echo "(parler-tts/install.sh): Error: ${pyenv} does not exist" - exit 1 -fi +# if [ ! -d ${pyenv} ]; then +# echo "(parler-tts/install.sh): Error: ${pyenv} does not exist" +# exit 1 +# fi -curl -L https://raw.githubusercontent.com/protocolbuffers/protobuf/main/python/google/protobuf/internal/builder.py -o ${pyenv}/builder.py +# curl -L https://raw.githubusercontent.com/protocolbuffers/protobuf/main/python/google/protobuf/internal/builder.py -o ${pyenv}/builder.py diff --git a/backend/python/parler-tts/requirements-after.txt b/backend/python/parler-tts/requirements-after.txt index 09811bf4..df0b8a9e 100644 --- a/backend/python/parler-tts/requirements-after.txt +++ b/backend/python/parler-tts/requirements-after.txt @@ -1,3 +1,4 @@ git+https://github.com/huggingface/parler-tts.git@8e465f1b5fcd223478e07175cb40494d19ffbe17 llvmlite==0.43.0 numba==0.60.0 +git+https://github.com/descriptinc/audiotools \ No newline at end of file