formatting
This commit is contained in:
@@ -244,7 +244,7 @@ class RimeTTSService(AudioContextWordTTSService):
|
|||||||
async def flush_audio(self):
|
async def flush_audio(self):
|
||||||
if not self._context_id or not self._websocket:
|
if not self._context_id or not self._websocket:
|
||||||
return
|
return
|
||||||
|
|
||||||
logger.trace(f"{self}: flushing audio")
|
logger.trace(f"{self}: flushing audio")
|
||||||
await self._get_websocket().send(json.dumps({"text": " "}))
|
await self._get_websocket().send(json.dumps({"text": " "}))
|
||||||
self._context_id = None
|
self._context_id = None
|
||||||
|
|||||||
Reference in New Issue
Block a user