[rime client] Sending over trailing space to help indicate end of utterance after a punctuation.
This commit is contained in:
@@ -244,7 +244,9 @@ class RimeTTSService(AudioContextWordTTSService):
|
||||
async def flush_audio(self):
|
||||
if not self._context_id or not self._websocket:
|
||||
return
|
||||
|
||||
logger.trace(f"{self}: flushing audio")
|
||||
await self._get_websocket().send(json.dumps({"text": " "}))
|
||||
self._context_id = None
|
||||
|
||||
async def _receive_messages(self):
|
||||
|
||||
Reference in New Issue
Block a user