Fix piper: add libespeak-ng1 dep and remove invalid spawnSync encoding

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Nate EmmertandClaude Sonnet 4.6 committed 2026-07-21 10:27:44 -04:00
1 parent 8fa906b559
commit fd88d964f7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1306,7 +1306,7 @@ app.get('/api/tts', (req, res) => {
'--model', PIPER_MODEL,
'--output_file', cachePath,
'--quiet',
], { input: text, encoding: 'buffer', timeout: 15000 });
], { input: text, timeout: 15000 });
if (result.status !== 0 || !existsSync(cachePath)) {
return res.status(500).json({ error: 'TTS generation failed' });