Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -11,4 +11,34 @@ license: mit
|
|
11 |
short_description: English Accent Classifier
|
12 |
---
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
11 |
short_description: English Accent Classifier
|
12 |
---
|
13 |
|
14 |
+
# English Accent Classifier
|
15 |
+
|
16 |
+
This is a simple web application built with Gradio that classifies the English accent spoken in a video.
|
17 |
+
|
18 |
+
## Features
|
19 |
+
- Accepts a public `.mp4` video URL
|
20 |
+
- Extracts and processes audio
|
21 |
+
- Classifies English accents (e.g., American, British, etc.)
|
22 |
+
- Returns:
|
23 |
+
- Detected accent
|
24 |
+
- Confidence score
|
25 |
+
- Summary explanation
|
26 |
+
|
27 |
+
## How it works
|
28 |
+
1. Downloads the video from the provided URL
|
29 |
+
2. Extracts audio using `moviepy`
|
30 |
+
3. Uses a pretrained model (`speechbrain`) for accent classification
|
31 |
+
4. Cleans up temporary files after processing
|
32 |
+
|
33 |
+
## Dependencies
|
34 |
+
See `requirements.txt`. Includes:
|
35 |
+
- `gradio`
|
36 |
+
- `moviepy`
|
37 |
+
- `torch`
|
38 |
+
- `speechbrain`
|
39 |
+
- `transformers`
|
40 |
+
- `requests`
|
41 |
+
|
42 |
+
## License
|
43 |
+
This project is licensed under the MIT License.
|
44 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|