王梦迪
2025-05-20 fe588bc508c0076bb007d6ed36c18ac8ecb341ac
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"]