mirror of
https://github.com/mudler/LocalAI.git
synced 2026-01-06 02:29:54 -06:00
fix(realtime): Use updated model on session update (#5604)
Signed-off-by: Richard Palethorpe <io@richiejp.com>
This commit is contained in:
committed by
GitHub
parent
5bc7ef37a2
commit
d650647db9
@@ -569,7 +569,7 @@ func updateTransSession(session *Session, update *types.ClientSession, cl *confi
|
||||
if trUpd != nil && trUpd.Model != "" && trUpd.Model != trCur.Model {
|
||||
pipeline := config.Pipeline {
|
||||
VAD: "silero-vad",
|
||||
Transcription: session.InputAudioTranscription.Model,
|
||||
Transcription: trUpd.Model,
|
||||
}
|
||||
|
||||
m, _, err := newTranscriptionOnlyModel(&pipeline, cl, ml, appConfig)
|
||||
|
||||
Reference in New Issue
Block a user