fixbug hotwords

This commit is contained in:
游雁 2024-06-24 11:55:17 +08:00
parent 5b4363a3e1
commit 1596f6f414

View File

@ -180,7 +180,7 @@ async def ws_serve(websocket, path):
"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"]