Source code for so_vits_svc_fork.preprocessing.preprocess_utils
from numpy import ndarray
[docs]
def check_hubert_min_duration(audio: ndarray, sr: int) -> bool:
return len(audio) / sr >= 0.3
from numpy import ndarray
[docs]
def check_hubert_min_duration(audio: ndarray, sr: int) -> bool:
return len(audio) / sr >= 0.3