Spaces:
Running
Running
A newer version of the Gradio SDK is available:
6.2.0
metadata
title: Voice Similarity Checker
emoji: ποΈ
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 6.0.2
app_file: app.py
pinned: false
license: mit
ποΈ Voice Similarity Checker
Compare two voice samples using advanced speaker recognition AI powered by SpeechBrain's ECAPA-TDNN model.
π Quick Start
Run Locally
# Install dependencies
pip install -r requirements.txt
# Launch the Gradio interface
python app.py
Run Original Script
python speech_brain_text.py
β¨ Features
- π€ Compare Any Audio Files: Upload two voice samples in any format (WAV, MP3, FLAC, etc.)
- π Similarity Score: Get a precise similarity score and speaker verification
- β‘ Performance Metrics: View detailed metrics including:
- Elapsed processing time
- Memory usage statistics
- CPU utilization
- π¨ Modern UI: Beautiful, responsive Gradio interface with gradient themes
π How to Use
- Upload your first audio file in the "Voice Sample 1" section
- Upload your second audio file in the "Voice Sample 2" section
- Click the "Compare Voices" button
- View the similarity results and performance metrics
π€ Model Information
This application uses the SpeechBrain ECAPA-TDNN model:
- Model:
speechbrain/spkrec-ecapa-voxceleb - Architecture: ECAPA-TDNN
- Training Data: VoxCeleb corpus
π¦ Project Structure
app.py- Modern Gradio web interfacespeech_brain_text.py- Original CLI scriptrequirements.txt- Python dependenciesREADME.md- This file
π Deploy to Hugging Face Spaces
This app is ready to deploy to Hugging Face Spaces. Simply:
- Create a new Space on Hugging Face
- Upload all files from this repository
- The app will automatically launch!
π License
MIT License