mirror of
https://github.com/pstrueb/piper.git
synced 2026-06-01 17:37:01 +00:00
Include libtashkeel model
This commit is contained in:
+1
-1
@@ -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/
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user