leeksang commited on
Commit
ecf9d33
·
verified ·
1 Parent(s): 0033345

Update README_real_model.md

Browse files
Files changed (1) hide show
  1. README_real_model.md +34 -18
README_real_model.md CHANGED
@@ -1,18 +1,34 @@
1
- ?? Accent Classifier
2
- Automatically extracts audio from videos and identifies speaker accents using Hugging Face�s AI models.
3
-
4
- ?? Description
5
- 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
6
-
7
- Perfect for linguistic analysis, speech training, and dialect studies!
8
-
9
- ?? Installation & Setup
10
- 1?? Install Dependencies
11
- Run this command in your terminal:
12
- 2?? Clone the Repository
13
- If using Git:pip install torch tensorflow transformers gradio yt-dlp moviepy requests
14
- 3?? Run the App
15
- Start the Gradio UI:
16
- python app.py
17
- ?? How to Use
18
- 1?? Open the Gradio interface 2?? Paste a video URL (YouTube, Vimeo, MP4, AVI, etc.) 3?? Click "Submit" 4?? View the extracted accent type and confidence score
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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