diff --git a/README.md b/README.md index aa4e1b8..6793f86 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,11 @@ model, utils = torch.hub.load(repo_or_dir='snakers4/silero-vad', model='silero_v (get_speech_timestamps, _, read_audio, _, _) = utils wav = read_audio('path_to_audio_file') -speech_timestamps = get_speech_timestamps(wav, model) +speech_timestamps = get_speech_timestamps( + wav, + model, + return_seconds=True, # Return speech timestamps in seconds (default is samples) +) ```