sovits-new / preprocessing /preprocess_utils.py
Vladimir Alabov
Init SVC
e613cea
raw
history blame
126 Bytes
from numpy import ndarray
def check_hubert_min_duration(audio: ndarray, sr: int) -> bool:
return len(audio) / sr >= 0.3