VoiceGPT – A minimal audio interface to ChatGPT
- Speech-to-text by Whisper
- Chat completion by GPT
- Text-to-speech by ElevenLabs
Instructions:
- Make sure you have the OpenAI API key in your
.env
pip install requirements.txt
- On macOS: Turn on Accessibility for your terminal app
sudo python voicegpt.py
- Hold right shift to talk. Have some patience with each API call.