nianjiuhuiyi
2025-03-20 0d6e6a2fb8581f21002f8c25ad5413e8ec694386
Fix: Spelling causes hotwords to not take effect (#2444)

The hotword passed by the client cannot take effect because of a spelling error.
1个文件已修改
2 ■■■ 已修改文件
runtime/python/websocket/funasr_wss_server.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/python/websocket/funasr_wss_server.py
@@ -179,7 +179,7 @@
                    websocket.status_dict_asr_online["decoder_chunk_look_back"] = messagejson[
                        "decoder_chunk_look_back"
                    ]
                if "hotword" in messagejson:
                if "hotwords" in messagejson:
                    websocket.status_dict_asr["hotword"] = messagejson["hotwords"]
                if "mode" in messagejson:
                    websocket.mode = messagejson["mode"]