HoneyTian commited on
Commit
897c5df
·
1 Parent(s): 8e74df8
Files changed (1) hide show
  1. silero_vad/main.go +1 -1
silero_vad/main.go CHANGED
@@ -15,7 +15,7 @@ func main() {
15
  silenceTimePtr := flag.Float64("silence_time", 0.1, "in the end of each speech chunk wait for min_silence_duration_ms before separating it")
16
  speechPadTimePtr := flag.Float64("speech_pad_time", 0.03, "final speech chunks are padded by speech_pad_ms each side")
17
  sampleRatePtr := flag.Uint64("sample_rate", 8000, "sample rate")
18
- thresholdPtr := flag.Float64("threshold", 0.5, "Speech threshold. Silero VAD outputs speech probabilities for each audio chunk, probabilities ABOVE this value are considered as SPEECH. It is better to tune this parameter for each dataset separately, but "lazy" 0.5 is pretty good for most datasets.")
19
  flag.Parse()
20
 
21
  var modelPath string = *modelPathPtr
 
15
  silenceTimePtr := flag.Float64("silence_time", 0.1, "in the end of each speech chunk wait for min_silence_duration_ms before separating it")
16
  speechPadTimePtr := flag.Float64("speech_pad_time", 0.03, "final speech chunks are padded by speech_pad_ms each side")
17
  sampleRatePtr := flag.Uint64("sample_rate", 8000, "sample rate")
18
+ thresholdPtr := flag.Float64("threshold", 0.5, "Speech threshold. Silero VAD outputs speech probabilities for each audio chunk, probabilities ABOVE this value are considered as SPEECH. It is better to tune this parameter for each dataset separately, but lazy 0.5 is pretty good for most datasets.")
19
  flag.Parse()
20
 
21
  var modelPath string = *modelPathPtr