summaryrefslogtreecommitdiff
path: root/extra/stt.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-11-10 13:06:05 +0300
committerGrail Finder <wohilas@gmail.com>2025-11-10 13:06:05 +0300
commita84930621cf0a3e35b4ee1d7facdfbfa3e987cff (patch)
tree2f67183384cef896561475fc4ae4babf6e9ef61a /extra/stt.go
parent48f32ba36a889d2514888589bc6c5da710a19feb (diff)
Fix: whisper binary
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)