hnluo
2023-06-07 81b76eb3cd30a226e8a97463a276060d384e9b61
Merge pull request #608 from zhaomingwork/for_ws_python_client

for wss client no offline mode
1个文件已修改
2 ■■■ 已修改文件
funasr/runtime/python/websocket/wss_client_asr.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/runtime/python/websocket/wss_client_asr.py
@@ -194,7 +194,7 @@
                text_print = text_print[-args.words_max_print:]
                os.system('clear')
                print("\rpid"+str(id)+": "+text_print)
            elif meg["mode"] == "online":
            elif meg["mode"] == "offline":
                text_print += "{}".format(text)
                text_print = text_print[-args.words_max_print:]
                os.system('clear')