From b750d26d801acb32ed1ec240392455f2b9763667 Mon Sep 17 00:00:00 2001 From: Thierry Pouplier Date: Sat, 9 May 2026 14:20:46 +0000 Subject: [PATCH] feat: switch to Norman voice (US male, medium) --- ai/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ai/Dockerfile b/ai/Dockerfile index 7342300..1d319cf 100644 --- a/ai/Dockerfile +++ b/ai/Dockerfile @@ -43,14 +43,14 @@ COPY --chown=hermes:hermes . . RUN uv venv && \ uv pip install --no-cache-dir piper-tts sounddevice numpy faster-whisper -# ---------- Télécharger la voix Piper Ryan ---------- +# ---------- Télécharger la voix Piper Norman ---------- RUN mkdir -p /opt/hermes/.venv/share/piper/voices && \ /opt/hermes/.venv/bin/python3 /dev/stdin << 'PYEOF' && rm -f /tmp/dl_voice.py import urllib.request base = '/opt/hermes/.venv/share/piper/voices' -url = 'https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/ryan/high/en_US-ryan-high.onnx' -urllib.request.urlretrieve(url, base + '/en_US-ryan-high.onnx') -urllib.request.urlretrieve(url + '.json', base + '/en_US-ryan-high.onnx.json') +url = 'https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/norman/medium/en_US-norman-medium.onnx' +urllib.request.urlretrieve(url, base + '/en_US-norman-medium.onnx') +urllib.request.urlretrieve(url + '.json', base + '/en_US-norman-medium.onnx.json') PYEOF # ---------- Patch tts_tool.py: replace Edge TTS fallback with Piper ----------