This is a github repository of my Mini Kinyarwanda Voice Assistant Project in the Intelligent Robotics class
# MiniKinyaVA
π€ Kinya Voice Assistant
An intelligent voice assistant designed to understand and respond in Kinyarwanda, offering seamless speech interaction through advanced speech-to-text and text-to-speech capabilities.
π Key Features
π Voice Input β Captures spoken Kinyarwanda
βοΈ Speech-to-Text (STT) β Converts Kinyarwanda speech into text using NeMo-based models
π§ Natural Language Understanding β Processes queries via rule-based logic and ChatGPT
π Text-to-Speech (TTS) β Synthesizes high-quality Kinyarwanda speech with MB-iSTFT-VITS2
π¬ Interactive Interface β Gradio-powered web interface for real-time conversations
π Overview
Kinya Voice Assistant enables natural, fluid conversations in Kinyarwanda. It operates through a three-step pipeline:
Speech Recognition β Transcribes spoken input into text
Query Analysis β Understands intent and formulates responses
Speech Synthesis β Converts responses into natural-sounding audio
πΌοΈ Demo Snapshots
Terminal Execution
Gradio UI
Usage Example
π οΈ Technical Architecture
πΉ Speech-to-Text (STT)
Powered by NVIDIA NeMo
Utilizes pretrained Kinyarwanda models from RW-DEEPSPEECH-API
Supports multiple audio input formats
πΉ Natural Language Processing
Hybrid approach combining:
Rule-based matching for simple commands
ChatGPT for complex conversation handling
Custom intent detection
Supports greetings, general queries, and contextual dialogue
πΉ Text-to-Speech (TTS)
Based on KinyaTTS
Employs the MB-iSTFT-VITS2 architecture
Outputs natural and expressive Kinyarwanda speech
βοΈ Installation & Setup
Prerequisites
Python 3.x
NVIDIA GPU (for local deployment)
Google Colab (recommended for ease)
Installation
bash
Copy
Edit
pip install -e /path/to/Inference/ # KinyaTTS
pip install "numpy 1.26.0"
pip install Cython
pip install gradio
pip install openai # Required for ChatGPT integration
π Running the Assistant
Open kin_assistant.ipynb in Google Colab
Mount Google Drive containing model files
Execute all cells to β¦