From 211ebc4f3a7f6e35cbfc01389790e009fa593a2e Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 11 五月 2023 19:36:26 +0800
Subject: [PATCH] Merge pull request #499 from alibaba-damo-academy/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 5ced688..a4a6d9f 100644
--- a/funasr/runtime/python/websocket/ws_client.py
+++ b/funasr/runtime/python/websocket/ws_client.py
@@ -189,7 +189,7 @@
                     text_print_2pass_online += " {}".format(text)
                     text_print = text_print_2pass_offline + text_print_2pass_online
                 else:
-                    text_print_2pass_online = " "
+                    text_print_2pass_online = ""
                     text_print = text_print_2pass_offline + "{}".format(text)
                     text_print_2pass_offline += "{}".format(text)
                 text_print = text_print[-args.words_max_print:]

--
Gitblit v1.9.1