Add default voice for each language (#180)
Fix https://github.com/kyutai-labs/pocket-tts/issues/166
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user