Default LMNT to 24kHz, add example

This commit is contained in:
Sharvil Nanavati
2024-08-22 14:52:43 +00:00
parent 8a39d3f4eb
commit 60c3d33def
2 changed files with 96 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ class LmntTTSService(TTSService):
*,
api_key: str,
voice_id: str,
sample_rate: int = 16000,
sample_rate: int = 24000,
language: str = "en",
**kwargs):
super().__init__(**kwargs)