diff --git a/bot.py b/bot.py index d06e33b..5a92db5 100644 --- a/bot.py +++ b/bot.py @@ -320,8 +320,8 @@ class SpokenKokoroTTSService(KokoroTTSService): """KokoroTTSService that normalizes numbers to digit-by-digit speech before synthesis, so phone numbers/addresses/zips are read naturally instead of as cardinals + 'dash'.""" - async def run_tts(self, text: str): - async for frame in super().run_tts(tts_normalize(text)): + async def run_tts(self, text: str, context_id: str): + async for frame in super().run_tts(tts_normalize(text), context_id): yield frame