Skip to content

gbbirkisson/whispy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo
whispy

Easy speech transcriptions using OpenAI whisper and python

Installation

pipx install -f git+https://github.com/gbbirkisson/whispy.git

Usage

$ whispy --help
Usage: whispy [OPTIONS]

  Simple program that transcribes audio when a hotkey is pressed. Once the
  program has started, these are the keys you can use:

          RIGHT_CTRL: Press and hold to start recording audio
          RIGHT_SHIFT: Press briefly while recording to translate transcript
          LEFT_SHIFT: Press briefly while recording to output email
          ESC: Press briefly while recording to cancel

Options:
  -m, --model [tiny|base|small|medium|large|turbo|tiny.en|base.en|small.en|medium.en]
                                  Whisper model to use.  [default: small]
  -l, --language [en|zh|de|es|ru|ko|fr|ja|pt|tr|pl|ca|nl|ar|sv|it|id|hi|fi|vi|he|uk|el|ms|cs|ro|da|hu|ta|no|th|ur|hr|bg|lt|la|mi|ml|cy|sk|te|fa|lv|bn|sr|az|sl|kn|et|mk|br|eu|is|hy|ne|mn|bs|kk|sq|sw|gl|mr|pa|si|km|sn|yo|so|af|oc|ka|be|tg|sd|gu|am|yi|lo|uz|fo|ht|ps|tk|nn|mt|sa|lb|my|bo|tl|mg|as|tt|haw|ln|ha|ba|jw|su|yue]
                                  Language to listen to.  [default: en]
  -t, --translate [en|zh|de|es|ru|ko|fr|ja|pt|tr|pl|ca|nl|ar|sv|it|id|hi|fi|vi|he|uk|el|ms|cs|ro|da|hu|ta|no|th|ur|hr|bg|lt|la|mi|ml|cy|sk|te|fa|lv|bn|sr|az|sl|kn|et|mk|br|eu|is|hy|ne|mn|bs|kk|sq|sw|gl|mr|pa|si|km|sn|yo|so|af|oc|ka|be|tg|sd|gu|am|yi|lo|uz|fo|ht|ps|tk|nn|mt|sa|lb|my|bo|tl|mg|as|tt|haw|ln|ha|ba|jw|su|yue]
                                  Language to translate to.  [default: no]
  -k, --openai-api-key TEXT       OpenAI API key. Only used for translations.
                                  [env: OPENAI_API_KEY]
  --help                          Show this message and exit.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors