Vladimir Alabov
Refactor #3
46b0a70
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