mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-14 16:38:44 +02:00
go : added wrappers to reset and print timings (#436)
This commit is contained in:
@ -60,6 +60,9 @@ type Context interface {
|
||||
IsNOT(Token) bool // Test for "No timestamps" token
|
||||
IsLANG(Token, string) bool // Test for token associated with a specific language
|
||||
IsText(Token) bool // Test for text token
|
||||
|
||||
PrintTimings()
|
||||
ResetTimings()
|
||||
}
|
||||
|
||||
// Segment is the text result of a speech recognition.
|
||||
|
Reference in New Issue
Block a user