mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-25 23:54:56 -04:00
Move to debug calls
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
1 parent
0318434b17
commit
9273395e38
1 file changed
+2
-2
@@ -487,10 +487,10 @@ func handleVAD(session *Session, conversation *Conversation, c *websocket.Conn,
|
||||
|
||||
speechStart, speechEnd := float32(0), float32(0)
|
||||
for _, s := range resp.Segments {
|
||||
log.Printf("speech starts at %0.2fs", s.Start)
|
||||
log.Debug().Msgf("speech starts at %0.2fs", s.Start)
|
||||
speechStart = s.Start
|
||||
if s.End > 0 {
|
||||
log.Printf("speech ends at %0.2fs", s.End)
|
||||
log.Debug().Msgf("speech ends at %0.2fs", s.End)
|
||||
speechEnd = s.End
|
||||
} else {
|
||||
log.Printf("speech is ongoing")
|
||||
|
||||
Reference in new issue
Block a user