4 points · by lxe · 2y ago · 3 comments
It uses Whisper for transcription (local), StyleTTS2 for TTS (also local).
Here's a little demo video if it in action: https://twitter.com/lxe/status/1745348827983560991
It uses streaming for both LLM results and TTS, which significantly decreases the interaction latency as compared to something like ChatGPT Voice mode.
The goal was to create a fully self-contained locally-running AI chat app, and this is the result.
Enjoy!
I also need to host this in a manner that doesn't require people entering their OpenAI tokens, which I usually find a poor experience.
I'm probably going to wire this up to a cheap/free endpoint hosting a Mistral model by some AI host, dozens of which have recently popped up.