mirror of
https://github.com/mudler/LocalAI.git
synced 2025-01-11 15:32:44 +00:00
Move to debug calls
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
6c175a4641
commit
04550d83a6
@ -487,10 +487,10 @@ func handleVAD(session *Session, conversation *Conversation, c *websocket.Conn,
|
|||||||
|
|
||||||
speechStart, speechEnd := float32(0), float32(0)
|
speechStart, speechEnd := float32(0), float32(0)
|
||||||
for _, s := range resp.Segments {
|
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
|
speechStart = s.Start
|
||||||
if s.End > 0 {
|
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
|
speechEnd = s.End
|
||||||
} else {
|
} else {
|
||||||
log.Printf("speech is ongoing")
|
log.Printf("speech is ongoing")
|
||||||
|
Loading…
Reference in New Issue
Block a user