summaryrefslogtreecommitdiff
path: root/extra/stt.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-11-09 12:59:50 +0300
committerGrail Finder <wohilas@gmail.com>2025-11-09 12:59:50 +0300
commit48f32ba36a889d2514888589bc6c5da710a19feb (patch)
tree128e8e9b4b71d49bfd8e5b9841cf50bbfde8ec5e /extra/stt.go
parent4a581f6c122255bddcb3580539ff24b3c7d7c657 (diff)
Enha: binary whisper stt impl
Diffstat (limited to 'extra/stt.go')
-rw-r--r--extra/stt.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/stt.go b/extra/stt.go
index ddcc851..6712071 100644
--- a/extra/stt.go
+++ b/extra/stt.go
@@ -31,6 +31,7 @@ type StreamCloser interface {
func NewSTT(logger *slog.Logger, cfg *config.Config) STT {
switch cfg.STT_TYPE {
case "WHISPER_BINARY":
+ return NewWhisperBinary(logger, cfg)
case "WHISPER_SERVER":
return NewWhisperServer(logger, cfg)
}