| funasr/runtime/python/onnxruntime/paraformer/rapid_paraformer/paraformer_onnx.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
funasr/runtime/python/onnxruntime/paraformer/rapid_paraformer/paraformer_onnx.py
@@ -41,8 +41,8 @@ self.ort_infer = OrtInferSession(model_file, device_id) self.batch_size = batch_size def __call__(self, wav_content: Union[str, np.ndarray, List[str]], fs: int = None) -> List: waveform_list = self.load_data(wav_content, fs) def __call__(self, wav_content: Union[str, np.ndarray, List[str]], **kwargs) -> List: waveform_list = self.load_data(wav_content, self.frontend.opts.samp_freq) waveform_nums = len(waveform_list) asr_res = []