File tree Expand file tree Collapse file tree 5 files changed +12
-17
lines changed
backend/python/parler-tts Expand file tree Collapse file tree 5 files changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ export SKIP_CONDA=1
12
12
endif
13
13
14
14
.PHONY : parler-tts
15
- parler-tts : protogen
15
+ parler-tts :
16
16
@echo " Installing $( CONDA_ENV_PATH) ..."
17
17
bash install.sh $(CONDA_ENV_PATH )
18
+ $(MAKE ) protogen
18
19
19
20
.PHONY : run
20
21
run : protogen
@@ -36,7 +37,7 @@ protogen-clean:
36
37
$(RM ) backend_pb2_grpc.py backend_pb2.py
37
38
38
39
backend_pb2_grpc.py backend_pb2.py :
39
- python3 -m grpc_tools.protoc -I../.. --python_out=. --grpc_python_out=. backend.proto
40
+ bash protogen.sh
40
41
41
42
.PHONY : clean
42
43
clean : protogen-clean
Original file line number Diff line number Diff line change @@ -11,16 +11,4 @@ if [ "x${BUILD_PROFILE}" == "xintel" ]; then
11
11
EXTRA_PIP_INSTALL_FLAGS+=" --upgrade --index-strategy=unsafe-first-match"
12
12
fi
13
13
14
- installRequirements
15
-
16
- # https://github.com/descriptinc/audiotools/issues/101
17
- # incompatible protobuf versions.
18
- # PYDIR=python3.10
19
- # pyenv="${MY_DIR}/venv/lib/${PYDIR}/site-packages/google/protobuf/internal/"
20
-
21
- # if [ ! -d ${pyenv} ]; then
22
- # echo "(parler-tts/install.sh): Error: ${pyenv} does not exist"
23
- # exit 1
24
- # fi
25
-
26
- # curl -L https://raw.githubusercontent.com/protocolbuffers/protobuf/main/python/google/protobuf/internal/builder.py -o ${pyenv}/builder.py
14
+ installRequirements
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ source $( dirname $0 ) /../common/libbackend.sh
5
+
6
+ python3 -m grpc_tools.protoc -I../.. --python_out=. --grpc_python_out=. backend.proto
Original file line number Diff line number Diff line change 1
1
git+https://github.com/huggingface/parler-tts.git@8e465f1b5fcd223478e07175cb40494d19ffbe17
2
2
llvmlite==0.43.0
3
- numba==0.60.0
4
- git+https://github.com/descriptinc/audiotools
3
+ numba==0.60.0
Original file line number Diff line number Diff line change 1
1
grpcio == 1.67.0
2
+ grpcio-tools == 1.44.0
2
3
protobuf
3
4
certifi
4
5
llvmlite == 0.43.0
You can’t perform that action at this time.
0 commit comments