summaryrefslogtreecommitdiff
path: root/extra/stt.go
diff options
context:
space:
mode:
Diffstat (limited to 'extra/stt.go')
-rw-r--r--extra/stt.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/stt.go b/extra/stt.go
index 6712071..3809487 100644
--- a/extra/stt.go
+++ b/extra/stt.go
@@ -31,8 +31,10 @@ type StreamCloser interface {
func NewSTT(logger *slog.Logger, cfg *config.Config) STT {
switch cfg.STT_TYPE {
case "WHISPER_BINARY":
+ logger.Debug("stt init, chosen whisper binary")
return NewWhisperBinary(logger, cfg)
case "WHISPER_SERVER":
+ logger.Debug("stt init, chosen whisper server")
return NewWhisperServer(logger, cfg)
}
return NewWhisperServer(logger, cfg)