File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed
root/etc/s6-overlay/s6-rc.d/svc-piper Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,12 @@ RUN \
2424 pip \
2525 wheel && \
2626 pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ \
27+ piper-tts \
2728 "wyoming-piper==${PIPER_VERSION}" && \
2829 if [ -z ${PIPER_BIN_VERSION+x} ]; then \
29- PIPER_BIN_VERSION=$(curl -sL "https://api.github.com/repos/rhasspy/piper /releases/latest" \
30+ PIPER_BIN_VERSION=$(curl -sL "https://api.github.com/repos/OHF-Voice/piper1-gpl /releases/latest" \
3031 | awk '/tag_name/{print $4;exit}' FS='[""]' ); \
3132 fi && \
32- curl -sL -o \
33- /tmp/piper.tar.gz -L \
34- "https://github.com/rhasspy/piper/releases/download/${PIPER_BIN_VERSION}/piper_linux_x86_64.tar.gz" && \
35- tar xzf \
36- /tmp/piper.tar.gz -C \
37- /usr/share && \
3833 printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
3934 echo "**** cleanup ****" && \
4035 rm -rf \
Original file line number Diff line number Diff line change @@ -24,17 +24,12 @@ RUN \
2424 pip \
2525 wheel && \
2626 pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ \
27+ piper-tts \
2728 "wyoming-piper==${PIPER_VERSION}" && \
2829 if [ -z ${PIPER_BIN_VERSION+x} ]; then \
29- PIPER_BIN_VERSION=$(curl -sL "https://api.github.com/repos/rhasspy/piper /releases/latest" \
30+ PIPER_BIN_VERSION=$(curl -sL "https://api.github.com/repos/OHF-Voice/piper1-gpl /releases/latest" \
3031 | awk '/tag_name/{print $4;exit}' FS='[""]'); \
3132 fi && \
32- curl -sL -o \
33- /tmp/piper.tar.gz -L \
34- "https://github.com/rhasspy/piper/releases/download/${PIPER_BIN_VERSION}/piper_linux_aarch64.tar.gz" && \
35- tar xzf \
36- /tmp/piper.tar.gz -C \
37- /usr/share && \
3833 printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3934 echo "**** cleanup ****" && \
4035 rm -rf \
Original file line number Diff line number Diff line change 1010exec \
1111 s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 10200" \
1212 s6-setuidgid abc python3 -m wyoming_piper \
13- --piper '/usr/share/piper /piper' \
13+ --piper '/lsiopy/bin /piper' \
1414 --uri 'tcp://0.0.0.0:10200' \
1515 --length-scale "${PIPER_LENGTH:-1.0}" \
1616 --noise-scale "${PIPER_NOISE:-0.667}" \
You can’t perform that action at this time.
0 commit comments