From e5d3b39e6d4da8041373c1fff6e93078ca043a16 Mon Sep 17 00:00:00 2001 From: IrvingGao <1729854488@qq.com> Date: Thu, 23 May 2024 20:13:39 +0800 Subject: [PATCH] [bug] board --- takway/clients/web_socket_client_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/takway/clients/web_socket_client_utils.py b/takway/clients/web_socket_client_utils.py index 30b9cb3..82bd75f 100644 --- a/takway/clients/web_socket_client_utils.py +++ b/takway/clients/web_socket_client_utils.py @@ -482,7 +482,7 @@ class WebSocketClinet: continue elif item[0] == 'audio_json': - data_type = item[0]['type'] + data_type = item[1]['type'] print(f"data_type: {data_type}") if self.wakeup_event.is_set(): if data_type == 'text':