mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
Merge branch 'dev_gzf_deepspeed' of github.com:alibaba-damo-academy/FunASR into dev_gzf_deepspeed
merge
This commit is contained in:
commit
c5bda8af93
@ -53,7 +53,7 @@ class ContextualEmbedderExport(torch.nn.Module):
|
||||
0: "num_hotwords",
|
||||
},
|
||||
"hw_embed": {
|
||||
0: "num_hotwords",
|
||||
1: "num_hotwords",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -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"]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user