mirror of
https://github.com/mudler/LocalAI.git
synced 2025-02-11 05:11:14 +00:00
Tweak silero settings
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
5f2c83700c
commit
01aace3017
@ -21,8 +21,8 @@ func (vad *VAD) Load(opts *pb.ModelOptions) error {
|
||||
SampleRate: 16000,
|
||||
//WindowSize: 1024,
|
||||
Threshold: 0.5,
|
||||
MinSilenceDurationMs: 0,
|
||||
SpeechPadMs: 0,
|
||||
MinSilenceDurationMs: 100,
|
||||
SpeechPadMs: 30,
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("create silero detector: %w", err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user