Accent_Classifier / README.md
leeksang's picture
Rename README_real_model.md to README.md
12ae4fd verified
|
raw
history blame
1 kB
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-sid model
  • βœ… 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