mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
python runtime
This commit is contained in:
parent
0cf7d386c6
commit
3bc0efcc14
@ -112,7 +112,7 @@ class SenseVoiceSmall:
|
||||
token_int = yseq[mask].tolist()
|
||||
|
||||
if tokenizer is not None:
|
||||
asr_res.append(tokenizer.decode(token_int))
|
||||
asr_res.append(self.tokenizer.decode(token_int))
|
||||
else:
|
||||
asr_res.append(token_int)
|
||||
return asr_res
|
||||
|
||||
Loading…
Reference in New Issue
Block a user