leeksang commited on
Commit
eb02a6a
Β·
verified Β·
1 Parent(s): 1b1a0fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -18
README.md CHANGED
@@ -1,34 +1,32 @@
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
 
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