Restored sending TTS service to client
This commit is contained in:
parent
d13c0cf3a4
commit
d8d7658f8a
|
@ -40,6 +40,11 @@ async def websocket_endpoint(
|
||||||
):
|
):
|
||||||
await websocket.accept()
|
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:
|
try:
|
||||||
|
|
||||||
async def receive_input():
|
async def receive_input():
|
||||||
|
|
Loading…
Reference in New Issue