Spaces:
Sleeping
Sleeping
| title: Accent | |
| emoji: 💻 | |
| colorFrom: purple | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 5.31.0 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| short_description: English Accent Classifier | |
| # English Accent Classifier | |
| This is a simple web application built with Gradio that classifies the English accent spoken in a video. | |
| ## Features | |
| - Accepts a public `.mp4` video URL | |
| - Extracts and processes audio | |
| - Classifies English accents (e.g., American, British, etc.) | |
| - Returns: | |
| - Detected accent | |
| - Confidence score | |
| - Summary explanation | |
| ## How it works | |
| 1. Downloads the video from the provided URL | |
| 2. Extracts audio using `moviepy` | |
| 3. Uses a pretrained model (`speechbrain`) for accent classification | |
| 4. Cleans up temporary files after processing | |
| ## Dependencies | |
| See `requirements.txt`. Includes: | |
| - `gradio` | |
| - `moviepy` | |
| - `torch` | |
| - `speechbrain` | |
| - `transformers` | |
| - `requests` | |
| ## License | |
| This project is licensed under the MIT License. | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |