[go: nahoru, domu]

Skip to content

makaveli10/whisper-tflite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

whisper-tflite

Getting Started

  • Download the whisper-tiny-en tflite model from here

  • Install requirements

 pip install -r requirements.txt
  • Transcribe with tflite model
 from whisper_tflite import WhisperModel
  
 model = WhisperModel("./whisper-tiny-en.tflite")

 segments, _ = model.transcribe("audio.mp3")
 
 for segment in segments:
     print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
 

References

Most of the code is taken from faster-whisper

About

openai/whisper in TFLite

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages