From 64c49cf3d840fa00391a9c99ec39b4315980af86 Mon Sep 17 00:00:00 2001
From: lyblsgo <lyblsgo@163.com>
Date: 星期一, 08 五月 2023 14:20:10 +0800
Subject: [PATCH] Merge branch 'main' of https://github.com/alibaba-damo-academy/FunASR into main

---
 funasr/runtime/python/websocket/ws_client.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/python/websocket/ws_client.py b/funasr/runtime/python/websocket/ws_client.py
index bbc49b1..9de31a4 100644
--- a/funasr/runtime/python/websocket/ws_client.py
+++ b/funasr/runtime/python/websocket/ws_client.py
@@ -167,7 +167,7 @@
             # print(meg)
             wav_name = meg.get("wav_name", "demo")
             print(wav_name)
-            text = meg["text"][0]
+            text = meg["text"]
             if ibest_writer is not None:
                 ibest_writer["text"][wav_name] = text
             if meg["mode"] == "online":

--
Gitblit v1.9.1