YC
2024-07-29 259343dda5a4589f067dc4af5edf165101303845
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"]