Spaces:
Sleeping
Sleeping
metadata
title: Accent Classifier
emoji: π€
colorFrom: red
colorTo: blue
sdk: gradio
sdk_version: 4.11.0
app_file: app.py
pinned: false
π€ Accent Classifier
Automatically extracts audio from videos and identifies speaker accents using Hugging Faceβs AI models.
π Description
This application allows users to upload any video or paste a video URL (YouTube, Vimeo, MP4, AVI, MKV, WMV, etc.).
It then:
- β Downloads the video (via direct URL or streaming site)
- β
Extracts the audio using
moviepy(supports ALL formats) - β
Classifies the accent of the speaker using Hugging Faceβs
wav2vec2-base-superb-sidmodel - β Displays the accent type & confidence score
Perfect for linguistic analysis, speech training, and dialect studies!
π Installation & Setup
1οΈβ£ Install Dependencies
Run this command in your terminal:
pip install torch tensorflow transformers gradio yt-dlp moviepy requests