demonstration of speaker recognition using embeddings.
- Python 3.x (tested with Python 3.11 via
pyenv) - Access to Pyannote/embeddings embeddings
Create a .env file in the project root with the following keys:
GEMINI_API_KEY=<your_gemini_api_key>
HF_API_KEY=<your_huggingface_api_key>
- Your voice sample should be stored as
.speakers/<your_name>.wav - Assistant voice sample should be stored as
.voices/<language_code>.wav
- Clone the repository
git clone https://github.com/ecnivs/speaker_rec_demo.git
cd speaker_rec_demo- Install dependencies
pip install -r requirements.txtpython main.py