mirror of
https://github.com/slackr31337/wyoming-piper-gpu.git
synced 2026-10-21 10:45:21 +02:00
Update run.sh
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
LOGGING=""
|
||||
if [[ "${LOG_LEVEL}" == "debug" ]]; then
|
||||
LOGGING="--debug "
|
||||
fi
|
||||
|
||||
# Run wyoming-piper server
|
||||
/app/bin/python3 -m wyoming_piper \
|
||||
--piper '/app/piper/piper' \
|
||||
--uri 'tcp://0.0.0.0:10200' \
|
||||
--uri "${PIPER_URI:-tcp://0.0.0.0:10200}" \
|
||||
--length-scale "${PIPER_LENGTH:-1.0}" \
|
||||
--noise-scale "${PIPER_NOISE:-0.667}" \
|
||||
--noise-w "${PIPER_NOISEW:-0.333}" \
|
||||
@@ -11,6 +16,6 @@
|
||||
--sentence-silence "${PIPER_SILENCE:-1.2}" \
|
||||
--voice "${PIPER_VOICE:-en_US-amy-medium}" \
|
||||
--max-piper-procs "${PIPER_PROCS:-1}" \
|
||||
--data-dir /data \
|
||||
--download-dir /data \
|
||||
--use-cuda "$@"
|
||||
--data-dir "${DATA_DIR:-/data}" \
|
||||
--download-dir "${DOWNLOAD_DIR:-/data}" \
|
||||
--use-cuda ${LOGGING}"$@"
|
||||
|
||||
Reference in New Issue
Block a user