python runtime

This commit is contained in:
游雁 2024-07-22 20:05:03 +08:00
parent 0cf7d386c6
commit 3bc0efcc14

View File

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