Remove debug code and fix time format

This commit is contained in:
Elara 2021-04-21 20:19:58 -07:00
parent fd3a6d87c4
commit c5956d3115
2 changed files with 1 additions and 3 deletions

View File

@ -90,8 +90,6 @@ func main() {
log.Fatal().Err(err).Msg("Error opening DeepSpeech model")
}
//model.SetBeamWidth(50)
// Initialize available plugins
plugins := initPlugins(*GOPATH)

View File

@ -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)
}