File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 22FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04 AS build
33
44ARG TARGETARCH=linux_x86_64
5- ARG WYOMING_PIPER_VERSION="1.5.2 "
5+ ARG WYOMING_PIPER_VERSION="1.6.1 "
66ARG PIPER_VERSION="1.2.0"
77ARG PIPER_PHONEMIZE_VERSION="1.1.0"
88
@@ -110,4 +110,4 @@ COPY --from=build /app .
110110
111111EXPOSE 10200
112112
113- ENTRYPOINT ["bash" , "/app/run.sh" ]
113+ ENTRYPOINT ["bash" , "/app/run.sh" ]
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ docker pull ghcr.io/slackr31337/wyoming-piper-gpu:latest
2525> PIPER_SILENCE="0.8"
2626>
2727> LOG_LEVEL="debug" # For debug logging
28+ >
29+ > STREAMING=false # To disable streaming
2830
2931
3032# Docker compose
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ if [[ "${LOG_LEVEL}" == "debug" ]]; then
55 LOGGING=" --debug "
66fi
77
8+ STREAMING=" ${STREAMING:- true} "
9+ STREAMING_FLAG=" "
10+ if [[ " $STREAMING " == " true" ]]; then
11+ STREAMING_FLAG=" --streaming "
12+ fi
13+
814# Run wyoming-piper server
915/app/bin/python3 -m wyoming_piper \
1016 --piper ' /app/piper/piper' \
1824 --max-piper-procs " ${PIPER_PROCS:- 1} " \
1925 --data-dir " ${DATA_DIR:-/ data} " \
2026 --download-dir " ${DOWNLOAD_DIR:-/ data} " \
21- --use-cuda ${LOGGING} " $@ "
27+ --use-cuda ${LOGGING}${STREAMING_FLAG} " $@ "
You can’t perform that action at this time.
0 commit comments