Accent_Classifier / README_real_model.md
leeksang's picture
Upload README_real_model.md
3200493 verified
|
raw
history blame
1.03 kB

?? Accent Classifier Automatically extracts audio from videos and identifies speaker accents using Hugging Face�s AI models.

?? Description 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

Perfect for linguistic analysis, speech training, and dialect studies!

?? Installation & Setup 1?? Install Dependencies Run this command in your terminal: 2?? Clone the Repository If using Git:pip install torch tensorflow transformers gradio yt-dlp moviepy requests 3?? Run the App Start the Gradio UI: python app.py ?? How to Use 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