Bard Voice Assistant Web Application😃
https://github.com/Ghost-Ashu/Bard-Voice-Assistant/assets/41056892/af6bd22c-4b81-4ad3-9784-d64e2e11bceb
A Flask web application that provides a user interface to interact with a chatbot.
Installation •
Usage •
License
## Installation
- Clone the repository:
git clone https://github.com/your-username/your-repository.git
cd your-repository
- Create a virtual environment (optional but recommended):
python3 -m venv venv
source venv/bin/activate
- Install the dependencies:
pip install -r requirements.txt
- Obtain a Bard Token:
- Sign up on the Bard website to get an API token.
- Replace the
token
variable in app.py
with your token.
- Download Whisper models:
- Download the
tiny
and base
models from the Whisper repository.
- Place the models in the same directory as
app.py
.
- Run the application:
python app.py
- Open your web browser and visit
http://localhost:5000
to access the chatbot interface.
## Usage
- Enter text input: Type your message in the input field and press Enter or click the "Send" button. The chatbot will respond accordingly.
- Speech input: Click the "Listen" button and speak your prompt to the chatbot. It will transcribe your speech, send it to the chatbot, and provide a spoken response.
- Speech output: Enter your prompt in the input field and click the "Speak" button. The chatbot's response will be spoken aloud.
## License
This project is licensed under the MIT License.