go : add wrapper for system info (#456)

This commit is contained in:
Lukas Rist
2023-01-28 17:44:56 +01:00
committed by GitHub
parent beb9512be3
commit 2bee2650c6
4 changed files with 22 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ func Process(model whisper.Model, path string, flags *Flags) error {
return err
}
fmt.Printf("\n%s\n", context.SystemInfo())
// Open the file
fmt.Fprintf(flags.Output(), "Loading %q\n", path)
fh, err := os.Open(path)