No project description provided
Project description
EasyWhisper
EasyWhisper is a simple Python package that allows you to convert speech to text using OpenAI's model Whisper locally.
It is a wrapper around the openai-whisper package.
Installation
Use
pip install easy-whisper-local
This is enough to install the package and its dependencies.
Besides, you can also install torch with CUDA support to speed up the process using your GPU.
The model will be downloaded automatically when you run the package for the first time, and it will be saved in the subdirectory models/
.
Usage
ew = EasyWhisper()
text = ew.file_to_text('audio.mp3')
times = ew.file_to_timestamps('audio.mp3')
dictionary = ew.file_to_dictionary('audio.mp3')
print(text)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for easy_whisper_local-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb04daa92a171d6105dd571d5d454e7741fd36dae163c7534f310f051969e6bd |
|
MD5 | 47a8509a555a622bf5849ccdbb2d25fb |
|
BLAKE2b-256 | 869911754f11d383c82934dd1b565461cfcff9dbcc0eaf3a7eb55040c51cbb75 |