mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-04 18:04:59 +00:00
feat(parler-tts): Add new backend
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
b91820b7f8
commit
61ead2cae9
12 changed files with 309 additions and 4 deletions
25
backend/python/parler-tts/Makefile
Normal file
25
backend/python/parler-tts/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
.PHONY: parler-tts
|
||||
parler-tts: protogen
|
||||
$(MAKE) -C ../common-env/transformers
|
||||
|
||||
.PHONY: run
|
||||
run: protogen
|
||||
@echo "Running transformers..."
|
||||
bash run.sh
|
||||
@echo "transformers run."
|
||||
|
||||
.PHONY: test
|
||||
test: protogen
|
||||
@echo "Testing transformers..."
|
||||
bash test.sh
|
||||
@echo "transformers tested."
|
||||
|
||||
.PHONY: protogen
|
||||
protogen: backend_pb2_grpc.py backend_pb2.py
|
||||
|
||||
.PHONY: protogen-clean
|
||||
protogen-clean:
|
||||
$(RM) backend_pb2_grpc.py backend_pb2.py
|
||||
|
||||
backend_pb2_grpc.py backend_pb2.py:
|
||||
python3 -m grpc_tools.protoc -I../.. --python_out=. --grpc_python_out=. backend.proto
|
Loading…
Add table
Add a link
Reference in a new issue