Loading tests/conftest.py +2 −0 Original line number Diff line number Diff line Loading @@ -1264,6 +1264,8 @@ def get_split_idx(input_file: str, sampling_rate_khz: int) -> Optional[np.ndarra If no list of indices is available for the given input file, an empty array is returned. """ assert sampling_rate_khz in [16, 32, 48] input_file = input_file.lower() if "omasa" in input_file: format = "_".join(input_file.replace(".wav", "").split("_")[:-1]) Loading Loading
tests/conftest.py +2 −0 Original line number Diff line number Diff line Loading @@ -1264,6 +1264,8 @@ def get_split_idx(input_file: str, sampling_rate_khz: int) -> Optional[np.ndarra If no list of indices is available for the given input file, an empty array is returned. """ assert sampling_rate_khz in [16, 32, 48] input_file = input_file.lower() if "omasa" in input_file: format = "_".join(input_file.replace(".wav", "").split("_")[:-1]) Loading