From 8c732716d62a2c2bdf2f302a7904f1811aa4301d Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期四, 11 五月 2023 16:55:50 +0800
Subject: [PATCH] update timestamp for batch inference
---
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