游雁
2024-07-22 7293a7bbe783878fcb548a55520795118041ba2d
python runtime
1个文件已修改
4 ■■■ 已修改文件
runtime/python/libtorch/funasr_torch/sensevoice_bin.py 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/python/libtorch/funasr_torch/sensevoice_bin.py
@@ -111,10 +111,8 @@
            mask = yseq != self.blank_id
            token_int = yseq[mask].tolist()
            if tokenizer is not None:
                asr_res.append(self.tokenizer.decode(token_int))
            else:
                asr_res.append(token_int)
        return asr_res
    def load_data(self, wav_content: Union[str, np.ndarray, List[str]], fs: int = None) -> List: