File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 77 " curand" ,
88 " espeak" ,
99 " manylinux" ,
10+ " NOISEW" ,
1011 " nvrtc" ,
1112 " onnxruntime" ,
1213 " phonemize" ,
14+ " PROCS" ,
1315 " rhasspy" ,
1416 " setuptools" ,
1517 " slackr" ,
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ docker pull ghcr.io/slackr31337/wyoming-piper-gpu:latest
2323> PIPER_SPEAKER="0"
2424>
2525> PIPER_SILENCE="0.8"
26+ >
27+ > LOG_LEVEL="debug" # For debug logging
2628
2729
2830# Docker compose
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ LOGGING=" "
4+ if [[ " ${LOG_LEVEL} " == " debug" ]]; then
5+ LOGGING=" --debug "
6+ fi
7+
38# Run wyoming-piper server
49/app/bin/python3 -m wyoming_piper \
510 --piper ' /app/piper/piper' \
6- --uri ' tcp://0.0.0.0:10200' \
11+ --uri " ${PIPER_URI :- tcp:// 0.0.0.0: 10200} " \
712 --length-scale " ${PIPER_LENGTH:- 1.0} " \
813 --noise-scale " ${PIPER_NOISE:- 0.667} " \
914 --noise-w " ${PIPER_NOISEW:- 0.333} " \
1015 --speaker " ${PIPER_SPEAKER:- 0} " \
1116 --sentence-silence " ${PIPER_SILENCE:- 1.2} " \
1217 --voice " ${PIPER_VOICE:- en_US-amy-medium} " \
1318 --max-piper-procs " ${PIPER_PROCS:- 1} " \
14- --data-dir /data \
15- --download-dir /data \
16- --use-cuda " $@ "
19+ --data-dir " ${DATA_DIR :- / data} " \
20+ --download-dir " ${DOWNLOAD_DIR :- / data} " \
21+ --use-cuda ${LOGGING} " $@ "
You can’t perform that action at this time.
0 commit comments