雾聪
2024-06-27 3c50a034b2ffa1350b85a2bdf66f0aceb584d6c2
runtime/python/websocket/funasr_wss_server.py
@@ -180,7 +180,7 @@
                        "decoder_chunk_look_back"
                    ]
                if "hotword" in messagejson:
                    websocket.status_dict_asr["hotword"] = messagejson["hotword"]
                    websocket.status_dict_asr["hotword"] = messagejson["hotwords"]
                if "mode" in messagejson:
                    websocket.mode = messagejson["mode"]