Closed tbarbugli closed 4 months ago
Add a LogLevel struct field to DetectorConfig so that it is possible to change ONNX log level. Current behaviour stays the same, when not provided Warn is used as before this change.
LogLevel
DetectorConfig
speech.NewDetector(speech.DetectorConfig{ ModelPath: "path/to/model", LogLevel: speech.LogLevelError, })
This change originates from this issue: https://github.com/streamer45/silero-vad-go/issues/8
Add a
LogLevel
struct field toDetectorConfig
so that it is possible to change ONNX log level. Current behaviour stays the same, when not provided Warn is used as before this change.This change originates from this issue: https://github.com/streamer45/silero-vad-go/issues/8