|
|
@@ -42,7 +42,7 @@ class Paraformer():
|
|
|
self.batch_size = batch_size
|
|
|
|
|
|
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_list = self.load_data(wav_content, self.frontend.opts.frame_opts.samp_freq)
|
|
|
waveform_nums = len(waveform_list)
|
|
|
|
|
|
asr_res = []
|