Kinyarwanda Voice Assistant is a bilingual voice interaction tool that enables speech recognition and text-to-speech synthesis in Kinyarwanda and English. It uses OpenAI Whisper for automatic speech transcription, Coqui TTS for speech generation, and features an intuitive Gradio web interface for voice-based Q&A and custom speech synthesis.
# Kinyarwanda-assistant
Kinyarwanda Voice Assistant is a bilingual voice interaction tool that enables speech recognition and text-to-speech synthesis in Kinyarwanda and English. It uses OpenAI Whisper for automatic speech transcription, Coqui TTS for speech generation, and features an intuitive Gradio web interface for voice-based Q&A and custom speech synthesis.
# π£οΈ Kinyarwanda Voice Assistant
This project is a bilingual voice assistant that leverages Whisper for speech recognition and TTS for converting text into speech. It features a user-friendly Gradio interface with two main functions: voice-based question answering and custom text-to-speech generation.
---
## π§ Core Features
- ποΈ **Speech Recognition** via OpenAI Whisper.
- π¬ **Preset Kinyarwanda Q&A** matching based on transcribed input.
- π **Text-to-Speech Output** using Hugging Face-supported TTS models.
- π₯οΈ **Web-based Interface** created with Gradio.
- π **Voice Cloning Support** using uploaded reference audio.
- π **Deployable Interface** with optional public sharing.
---
## π οΈ Setup Instructions
### βοΈ Install Python Libraries
First, install the necessary Python packages:
```bash
pip install -q openai-whisper
pip install numpy==1.24.3 --force-reinstall
pip install gradio
pip install transformers
pip install torchaudio
pip install TTS
pip install nemo-toolkit