simple streaming

This commit is contained in:
志浩 2024-09-13 16:13:40 +08:00
parent 8b56cc9ba5
commit 441b997f19

View File

@ -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,