Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.1.0
metadata
title: Accent Classifier
emoji: ποΈ
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 5.32.0
app_file: app.py
pinned: false
Accent Classifier ποΈ
This Gradio app downloads a public YouTube or Vimeo video, extracts its audio, and classifies the speaker (as a proxy for accent) using a Hugging Face model.
- Paste a public YouTube or Vimeo URL.
- The app uses
yt-dlpto grab the audio. ffmpegconverts it to a 16 kHz WAV file.- A Hugging Face pipeline (
superb/wav2vec2-base-superb-sid) predicts a speaker ID and confidence. - Temporary files are cleaned up automatically.
Note: You must have
ffmpeginstalled and on your PATH. Ifyt-dlpis missing, the script will install it at runtime.