mirror of
https://github.com/mudler/LocalAI.git
synced 2025-02-11 05:11:14 +00:00
Move to debug calls
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
0318434b17
commit
9273395e38
@ -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…
x
Reference in New Issue
Block a user