mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-24 20:45:00 +00:00
fix(parler-tts): pin grpcio-tools (#3960)
Seems we require a specific version to build the backend files. Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
07ce0a3c17
commit
9c5cd9b38b
5 changed files with 12 additions and 17 deletions
|
@ -12,9 +12,10 @@ export SKIP_CONDA=1
|
|||
endif
|
||||
|
||||
.PHONY: parler-tts
|
||||
parler-tts: protogen
|
||||
parler-tts:
|
||||
@echo "Installing $(CONDA_ENV_PATH)..."
|
||||
bash install.sh $(CONDA_ENV_PATH)
|
||||
$(MAKE) protogen
|
||||
|
||||
.PHONY: run
|
||||
run: protogen
|
||||
|
@ -36,7 +37,7 @@ 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
|
||||
bash protogen.sh
|
||||
|
||||
.PHONY: clean
|
||||
clean: protogen-clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue