leeksang commited on
Commit
3200493
·
verified ·
1 Parent(s): 719b865

Upload README_real_model.md

Browse files
Files changed (1) hide show
  1. README_real_model.md +18 -0
README_real_model.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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