Spaces:
Sleeping
Sleeping
from numpy import ndarray | |
def check_hubert_min_duration(audio: ndarray, sr: int) -> bool: | |
return len(audio) / sr >= 0.3 | |
from numpy import ndarray | |
def check_hubert_min_duration(audio: ndarray, sr: int) -> bool: | |
return len(audio) / sr >= 0.3 | |