File size: 126 Bytes
d5d7329
 
 
 
 
1
2
3
4
5
6
from numpy import ndarray


def check_hubert_min_duration(audio: ndarray, sr: int) -> bool:
    return len(audio) / sr >= 0.3