Add default voice for each language (#180)

Fix https://github.com/kyutai-labs/pocket-tts/issues/166
This commit is contained in:
Gabriel de Marmiesse
2026-05-04 15:35:22 +02:00
committed by GitHub
parent de010ea890
commit 7db278ee57
8 changed files with 94 additions and 53 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ class TTSModel(nn.Module):
if language is not None:
if language == "french":
raise ValueError(
"The french model is not ready yet, please use 'french_24l' instead."
"For technical reasons, only a larger 24-layer model is available for French. Please use the 'french_24l' language instead."
)
config = CONFIGS_DIR / f"{language}.yaml"
config = Path(config)