mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update repo
This commit is contained in:
parent
8167ecaa49
commit
35504ab464
@ -65,7 +65,7 @@ class SoundScpReader(collections.abc.Mapping):
|
||||
array, _ = torchaudio.sox_effects.apply_effects_tensor(
|
||||
torch.tensor(array).view(1, -1), rate,
|
||||
[['speed', str(speed)], ['rate', str(rate)]])
|
||||
array = array.view(-1).numpy()
|
||||
array = array.view(-1).numpy()
|
||||
|
||||
return rate, array
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user