feat(hermes): Piper TTS (local US male, no cloud) #17
@@ -52,11 +52,7 @@ url = 'https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/norman/
|
||||
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 ----------
|
||||
COPY patch_tts_tool.py /tmp/patch_tts_tool.py
|
||||
RUN /opt/hermes/.venv/bin/python3 /tmp/patch_tts_tool.py && rm /tmp/patch_tts_tool.py
|
||||
|
||||
|
||||
# ---------- Runtime ----------
|
||||
ENV HERMES_HOME=/opt/data
|
||||
ENV PATH="/opt/data/.local/bin:${PATH}"
|
||||
|
||||
Reference in New Issue
Block a user