This project is a simple AI-powered voice assistant built using:
It takes user input from the terminal, sends it to Gemini for a response, then converts the reply into speech output.
- Converses with Google Gemini (
gemini-1.0-pro-latest). - Converts AI responses into speech using gTTS.
- Plays the generated audio instantly.
- Designed for short, factual, assistant-style replies.
Install dependencies with:
pip install google-generativeai gTTS playsound
βοΈ Setup
Clone the repository or copy the code into a Python file (assistant.py).
Get a Google AI API Key from Google AI Studio.