From b0052456f0c9a97469c013f2365bc4816d521bc4 Mon Sep 17 00:00:00 2001 From: kingston Date: Mon, 19 Oct 2026 00:15:53 -0500 Subject: [PATCH] ttstoy: limit piper voice pool to 5 active voices --- ttstoy/ttstoy.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ttstoy/ttstoy.py b/ttstoy/ttstoy.py index d66a166..77dc0e9 100644 --- a/ttstoy/ttstoy.py +++ b/ttstoy/ttstoy.py @@ -87,11 +87,10 @@ PIPER_DEFAULT_URL = "http://127.0.0.1:5006" DECTALK_VOICE_POOL = ["paul", "betty", "harry", "frank", "dennis", "kit", "ursula", "rita", "wendy"] # Piper: model ids available on the Piper server (filenames without .onnx). PIPER_VOICE_POOL = [ - "en_US-ryan-medium", "en_US-amy-medium", "en_US-hfc_male-medium", "en_US-hfc_female-medium", - "en_US-joe-medium", "en_US-kristin-medium", "en_US-john-medium", "en_US-kathleen-low", - "en_US-lessac-medium", "en_US-norman-medium", "en_US-danny-low", "en_US-sam-medium", - "en_US-bryce-medium", "en_US-mike-medium", "en_US-libritts_r-medium", "en_US-ljspeech-medium", - "en_US-amy-low", "en_US-lessac-high", "en_US-ryan-high", + # Must match the server's active data-dir (callagent/piper_voices_active). + # Limited to 5 so VRAM stays bounded on the shared 4GB GPU. + "en_US-kristin-medium", "en_US-hfc_female-medium", "en_US-hfc_male-medium", + "en_US-john-medium", "en_US-lessac-high", ] _DEFAULT_EMOJI_SFX = {