From d94387374f5d2df6f02d37b47df08bb7505a0457 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Fri, 9 Jun 2023 16:51:18 -0500 Subject: [PATCH] Include libtashkeel model --- Dockerfile | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 236c0a2..1ad90b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,7 @@ RUN ./build/piper --help # Build .tar.gz to keep symlinks WORKDIR /dist RUN mkdir -p piper && \ - cp -dR /build/build/*.so* /build/build/espeak-ng-data /build/build/piper ./piper/ && \ + cp -dR /build/build/*.so* /build/build/espeak-ng-data /build/build/libtashkeel_model.ort /build/build/piper ./piper/ && \ tar -czf "piper_${TARGETARCH}${TARGETVARIANT}.tar.gz" piper/ # ----------------------------------------------------------------------------- diff --git a/Makefile b/Makefile index e3c27d8..a03007c 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ LIB_DIR := lib/Linux-$(shell uname -m) piper: mkdir -p build cd build && cmake ../src/cpp -DCMAKE_BUILD_TYPE=Release && make - cp -aR $(LIB_DIR)/piper_phonemize/lib/espeak-ng-data $(LIB_DIR)/piper_phonemize/lib/*.so* build/ + cp -aR $(LIB_DIR)/piper_phonemize/lib/espeak-ng-data $(LIB_DIR)/piper_phonemize/lib/*.so* $(LIB_DIR)/piper_phonemize/etc/* build/ clean: rm -rf build/ dist/