Restored sending TTS service to client

This commit is contained in:
killian 2024-07-10 11:14:27 -07:00
parent d13c0cf3a4
commit d8d7658f8a
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@ async def websocket_endpoint(
):
await websocket.accept()
# Send the tts_service value to the client
await websocket.send_text(
json.dumps({"type": "config", "tts_service": interpreter.interpreter.tts})
)
try:
async def receive_input():