Fix: use q5 model as per makefile
This commit is contained in:
14
bot.go
14
bot.go
@@ -26,12 +26,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
httpClient = &http.Client{}
|
httpClient = &http.Client{}
|
||||||
cluedoState *extra.CluedoRoundInfo // Current game state
|
cluedoState *extra.CluedoRoundInfo // Current game state
|
||||||
playerOrder []string // Turn order tracking
|
playerOrder []string // Turn order tracking
|
||||||
cfg *config.Config
|
cfg *config.Config
|
||||||
logger *slog.Logger
|
logger *slog.Logger
|
||||||
logLevel = new(slog.LevelVar)
|
logLevel = new(slog.LevelVar)
|
||||||
)
|
)
|
||||||
var (
|
var (
|
||||||
activeChatName string
|
activeChatName string
|
||||||
@@ -547,7 +547,7 @@ out:
|
|||||||
if cfg.TTS_ENABLED {
|
if cfg.TTS_ENABLED {
|
||||||
// audioStream.TextChan <- chunk
|
// audioStream.TextChan <- chunk
|
||||||
extra.TTSFlushChan <- true
|
extra.TTSFlushChan <- true
|
||||||
logger.Info("sending flushchan signal")
|
logger.Debug("sending flushchan signal")
|
||||||
}
|
}
|
||||||
break out
|
break out
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ STT_ENABLED = false
|
|||||||
STT_TYPE = "WHISPER_SERVER" # WHISPER_SERVER or WHISPER_BINARY
|
STT_TYPE = "WHISPER_SERVER" # WHISPER_SERVER or WHISPER_BINARY
|
||||||
STT_URL = "http://localhost:8081/inference"
|
STT_URL = "http://localhost:8081/inference"
|
||||||
WhisperBinaryPath = "./batteries/whisper.cpp/build/bin/whisper-cli" # Path to whisper binary (for WHISPER_BINARY mode)
|
WhisperBinaryPath = "./batteries/whisper.cpp/build/bin/whisper-cli" # Path to whisper binary (for WHISPER_BINARY mode)
|
||||||
WhisperModelPath = "./batteries/whisper.cpp/ggml-large-v3-turbo.bin" # Path to whisper model file (for WHISPER_BINARY mode)
|
WhisperModelPath = "./batteries/whisper.cpp/ggml-large-v3-turbo-q5_0.bin" # Path to whisper model file (for WHISPER_BINARY mode)
|
||||||
STT_LANG = "en" # Language for speech recognition (for WHISPER_BINARY mode)
|
STT_LANG = "en" # Language for speech recognition (for WHISPER_BINARY mode)
|
||||||
STT_SR = 16000 # Sample rate for audio recording
|
STT_SR = 16000 # Sample rate for audio recording
|
||||||
DBPATH = "gflt.db"
|
DBPATH = "gflt.db"
|
||||||
|
|||||||
Reference in New Issue
Block a user