2024年11月21日星期四 下午9:54:13

How to manually install Piper and whisper on Home Assistant OS?

7 个月 前
#31890 引用
1
0
7 个月 前
#31891 引用
Home Assistant Add-on: Whisper
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): huggingface.co:443
0
7 个月 前
#31950 引用
How to install custom Piper voice model on HAOS installation?

https://community.home-assistant.io/t/how-to-install-custom-piper-voice-model-on-haos-installation/617267/6?u=msly

0
7 个月 前
#31954 引用
下载语音模型
You will need two files per voice:

A .onnx model file, such as en_US-lessac-medium.onnx
A .onnx.json config file, such as en_US-lessac-medium.onnx.json


下载英文语音模型
voices.json
en_US-lessac-medium.onnx
en_US-lessac-medium.onnx.json


下载中文语音模型
。。。

DEBUG:wyoming_piper.download:Loading /usr/local/lib/python3.11/dist-packages/wyoming_piper/voices.json
DEBUG:wyoming_piper.process:Starting process for: en_US-lessac-medium (1/1)
DEBUG:wyoming_piper.download:Checking /data/en_US-lessac-medium.onnx
DEBUG:wyoming_piper.download:Missing /data/en_US-lessac-medium.onnx
DEBUG:wyoming_piper.download:Checking /data/en_US-lessac-medium.onnx.json
DEBUG:wyoming_piper.download:Missing /data/en_US-lessac-medium.onnx.json
DEBUG:wyoming_piper.download:Checking /share/piper/en_US-lessac-medium.onnx
DEBUG:wyoming_piper.download:Missing /share/piper/en_US-lessac-medium.onnx
DEBUG:wyoming_piper.download:Checking /share/piper/en_US-lessac-medium.onnx.json
DEBUG:wyoming_piper.download:Missing /share/piper/en_US-lessac-medium.onnx.json
DEBUG:wyoming_piper.download:Downloading https://huggingface.co/rhasspy/piper-voices/resolve/v1.0.0/en/en_US/lessac/medium/en_US-lessac-medium.onnx to /data/en_US-lessac-medium.onnx



https://huggingface.co/rhasspy/piper-voices/resolve/v1.0.0/voices.json   no response

~# ping huggingface.co

output
PING huggingface.co (104.244.46.63) 56(84) bytes of data.
0