Spaces:
Sleeping
Sleeping
Update README_real_model.md
Browse files- README_real_model.md +34 -18
README_real_model.md
CHANGED
|
@@ -1,18 +1,34 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Accent Classifier
|
| 3 |
+
emoji: 🎤
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.11.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# 🎤 Accent Classifier
|
| 13 |
+
|
| 14 |
+
Automatically extracts audio from videos and identifies speaker accents using Hugging Face’s AI models.
|
| 15 |
+
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
## 📝 **Description**
|
| 19 |
+
This application allows users to **upload any video** or **paste a video URL** (YouTube, Vimeo, MP4, AVI, MKV, WMV, etc.).
|
| 20 |
+
It then:
|
| 21 |
+
- ✅ **Downloads the video** (via direct URL or streaming site)
|
| 22 |
+
- ✅ **Extracts the audio** using `moviepy` (supports ALL formats)
|
| 23 |
+
- ✅ **Classifies the accent** of the speaker using **Hugging Face’s `wav2vec2-base-superb-sid` model**
|
| 24 |
+
- ✅ **Displays the accent type & confidence score**
|
| 25 |
+
|
| 26 |
+
Perfect for **linguistic analysis, speech training, and dialect studies!**
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## 🚀 **Installation & Setup**
|
| 31 |
+
### **1️⃣ Install Dependencies**
|
| 32 |
+
Run this command in your terminal:
|
| 33 |
+
```bash
|
| 34 |
+
pip install torch tensorflow transformers gradio yt-dlp moviepy requests
|