Vexa's picture
Duplicate from pivich/sovits-new
d5d7329
raw
history blame contribute delete
126 Bytes
from numpy import ndarray
def check_hubert_min_duration(audio: ndarray, sr: int) -> bool:
return len(audio) / sr >= 0.3