Merge branch 'dev_gzf_deepspeed' of github.com:alibaba-damo-academy/FunASR into dev_gzf_deepspeed

merge
This commit is contained in:
游雁 2024-06-24 17:06:56 +08:00
commit c5bda8af93
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class ContextualEmbedderExport(torch.nn.Module):
0: "num_hotwords",
},
"hw_embed": {
0: "num_hotwords",
1: "num_hotwords",
},
}

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"]