Files
wyoming-piper-gpu/run.sh
T
2023-12-08 12:10:07 -05:00

22 lines
815 B
Bash

#!/usr/bin/env bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python3.10/dist-packages/nvidia/cudnn/lib/
# python3 -m wyoming_piper \
# --piper '/usr/share/piper/piper' \
# --uri 'tcp://0.0.0.0:10200' \
# --length-scale "$(bashio::config 'length_scale')" \
# --noise-scale "$(bashio::config 'noise_scale')" \
# --noise-w "$(bashio::config 'noise_w')" \
# --speaker "$(bashio::config 'speaker')" \
# --voice "$(bashio::config 'voice')" \
# --max-piper-procs "$(bashio::config 'max_piper_procs')" \
# --data-dir /data \
# --data-dir /share/piper \
# --download-dir /data "$@"
python3 -m wyoming_piper \
--piper '/usr/share/piper/piper' \
--uri 'tcp://0.0.0.0:10200' \
--data-dir /data \
--data-dir /share/piper \
--download-dir /data "$@"