Improve tts stream
This commit is contained in:
@@ -634,7 +634,6 @@ class DuplexPipeline:
|
||||
break
|
||||
|
||||
await self.transport.send_audio(chunk.audio)
|
||||
await asyncio.sleep(0.005) # Small delay to prevent flooding
|
||||
except asyncio.CancelledError:
|
||||
logger.debug("TTS sentence cancelled")
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user