From d8d7658f8a9b3c969efe77628cabde6b6b3271b0 Mon Sep 17 00:00:00 2001 From: killian <63927363+KillianLucas@users.noreply.github.com> Date: Wed, 10 Jul 2024 11:14:27 -0700 Subject: [PATCH] Restored sending TTS service to client --- software/source/server/async_server.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/software/source/server/async_server.py b/software/source/server/async_server.py index 0772301..3897f56 100644 --- a/software/source/server/async_server.py +++ b/software/source/server/async_server.py @@ -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():