kongdeqiang
8 天以前 28ccfbfc51068a663a80764e14074df5edf2b5ba
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"]