Skip to content

9nut/whisper_stt_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stream

Whisper Realtime STT in Go

This is a simple stream ("realtime") speech-to-text transcirber reimplementation of whisper.cpp's stream example. It requires whisper.cpp.

Building

Checkout whisper.cpp and verify that all the examples are working for the environment you're building. Then build the Go language examples:

$ cd bindings/go
$ make examples

If you're building for a CUDA target:

$ cd bindings/go
$ GGML_CUBLAS=1 make examples
$

This produces the libwhisper.a in whisper.cpp root directory. Now this version of stream can be compiled using go build. Note that cgo flags in main.go expect whisper.cpp to be in an adjacent directory (i.e. ../whisper.cpp from this directory).

$ cd ../whisper_stt_go
$ go build

Author: Skip Tavakkolian

About

Example of whisper.cpp streaming in Go language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published