雾聪
2024-07-01 31bf3a88a09f6e7c895224f4dc75e8f2c138d5c8
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"]