fix: clean patch script - only target Edge, no Coqui references

This commit is contained in:
Thierry Pouplier
2026-05-09 13:59:09 +00:00
parent 78f499bde8
commit 3f080da35e
2 changed files with 13 additions and 64 deletions

View File

@@ -52,7 +52,7 @@ urllib.request.urlretrieve(url + '?download=true', base + '/en_US-ryan-high.onnx
urllib.request.urlretrieve(url + '.onnx.json?download=true', base + '/en_US-ryan-high.onnx.json')
"
# ---------- Patch tts_tool.py: remplacer Coqui par Piper, supprimer Edge ----------
# ---------- Patch tts_tool.py: replace Edge TTS fallback with Piper ----------
COPY ai/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