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():