Remove debug code and fix time format
This commit is contained in:
parent
fd3a6d87c4
commit
c5956d3115
2
main.go
2
main.go
@ -90,8 +90,6 @@ func main() {
|
||||
log.Fatal().Err(err).Msg("Error opening DeepSpeech model")
|
||||
}
|
||||
|
||||
//model.SetBeamWidth(50)
|
||||
|
||||
// Initialize available plugins
|
||||
plugins := initPlugins(*GOPATH)
|
||||
|
||||
|
@ -25,7 +25,7 @@ import (
|
||||
|
||||
func RunPlugin(_ string, _ map[string]interface{}) {
|
||||
// Format time in a way the synthesized voice will understand
|
||||
formattedTime := time.Now().Format("3 04 PM")
|
||||
formattedTime := time.Now().Format("3:04 PM")
|
||||
// Say formatted time using voice
|
||||
trident.Say(formattedTime)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user