mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
simple streaming
This commit is contained in:
parent
8b56cc9ba5
commit
441b997f19
@ -1004,6 +1004,8 @@ class UCTDXvecSlotModel(UpsampleCtcTokenDiffModel):
|
||||
|
||||
# forward FM model
|
||||
set_all_random_seed(0)
|
||||
if cur_token.shape[1] < 1:
|
||||
return None, None
|
||||
feat = self.fm_model.inference(
|
||||
cur_token, cur_token_len,
|
||||
xvec, xvec_lengths,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user