嘉渊
2023-05-12 fd005eb85f9ac9e069e96bcdbc6b011c48f630b1
funasr/fileio/sound_scp.py
@@ -1,7 +1,6 @@
import collections.abc
from pathlib import Path
from typing import Union
from typing import Optional
import random
import numpy as np
@@ -36,7 +35,7 @@
        always_2d: bool = False,
        normalize: bool = False,
        dest_sample_rate: int = 16000,
        speed_perturb: Optional[list, tuple] = None,
        speed_perturb: Union[list, tuple] = None,
    ):
        assert check_argument_types()
        self.fname = fname