Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,34 +1,32 @@
|
|
| 1 |
---
|
| 2 |
title: Accent Classifier
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
#
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
---
|
| 17 |
|
| 18 |
-
##
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
---
|
| 29 |
|
| 30 |
-
##
|
| 31 |
-
|
| 32 |
-
|
|
|
|
| 33 |
```bash
|
| 34 |
-
pip install
|
|
|
|
| 1 |
---
|
| 2 |
title: Accent Classifier
|
| 3 |
+
emoji: ποΈ
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.32.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# ποΈ Accent Classifier App
|
| 13 |
|
| 14 |
+
This Gradio-powered app lets you paste a public video URL, automatically downloads the video with `yt-dlp`, extracts the audio using `ffmpeg`, and classifies the accent using a Hugging Face audio model.
|
| 15 |
|
| 16 |
---
|
| 17 |
|
| 18 |
+
## π Features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
+
- π₯ Paste a public video URL (YouTube, Vimeo, Dailymotion)
|
| 21 |
+
- π§ Extracts audio from the video
|
| 22 |
+
- π§ Classifies the speaker using Hugging Face audio model
|
| 23 |
+
- π§Ή Cleans up video/audio files after use
|
| 24 |
|
| 25 |
---
|
| 26 |
|
| 27 |
+
## π οΈ Setup Instructions
|
| 28 |
+
|
| 29 |
+
### Dependencies
|
| 30 |
+
|
| 31 |
```bash
|
| 32 |
+
pip install -r requirements.txt
|