Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Nov 1, 2024
1 parent c7ae295 commit 146d43d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wenet/paraformer/paraformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def forward(self,
tp_alphas = tp_alphas.squeeze(-1)
tp_token_num = tp_alphas.sum(-1)

return acoustic_embeds, token_num, alphas, cif_peak, tp_alphas, tp_token_num, mask
return acoustic_embeds, token_num, alphas, cif_peak, tp_alphas, \
tp_token_num, mask


class Paraformer(ASRModel):
Expand Down

0 comments on commit 146d43d

Please sign in to comment.