fix: TTS entrypoint uses 'bash startup.sh' + correct Piper voice URLs + v0.9.1

Two bugs fixed:

1. Entrypoint used 'python /app/app.py' but openedai-speech uses
   'bash startup.sh'. Fixed to: exec bash /app/startup.sh

2. Piper voice download URLs were wrong. HuggingFace path is:
   ru/ru_RU/<voice>/medium/ru_RU-<voice>-medium.onnx
   (was: ru_RU/<voice>/medium/...)
   Also added file size check — if <1000 bytes, download failed.

3. entrypoint.sh now includes all 4 Russian voices in default config:
   irina, denis, dmitri, ruslan

After merge:
  git pull
  rm -rf gpu/tts/voices/ru_RU-*  # delete broken 15-byte files
  sh gpu/tts/download-ru-voices.sh  # re-download with correct URLs
  docker compose --profile tts up -d --force-recreate tts
This commit is contained in:
Z User
2026-10-29 23:28:28 +00:00
parent 04ee042a05
commit 830763c3fa
4 changed files with 30 additions and 32 deletions

View File

@@ -120,7 +120,7 @@ export async function GET() {
ok: envError === null,
error: envError,
},
version: "0.9.0",
version: "0.9.1",
timestamp: new Date().toISOString(),
});
}

View File

@@ -4,7 +4,7 @@
* Displayed in the footer and available via /api/debug so the user can
* verify the update actually took effect.
*/
export const DASHBOARD_VERSION = "0.9.0";
export const DASHBOARD_VERSION = "0.9.1";
/**
* Build timestamp — set at build time by Next.js.