TaahKay commited on
Commit
835d4fd
Β·
verified Β·
1 Parent(s): e389dde

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -48
README.md CHANGED
@@ -12,13 +12,6 @@ short_description: 'Streamlit application that detects the English accent '
12
  license: mit
13
  ---
14
 
15
- # Welcome to Streamlit!
16
-
17
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
18
-
19
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
20
- forums](https://discuss.streamlit.io).
21
-
22
 
23
  # πŸŽ™οΈ English Accent Audio Detector
24
 
@@ -40,6 +33,50 @@ This app uses the Accent-ID model developed by Juan Pablo Zuluaga on the CommonA
40
 
41
  The model is implemented using the SpeechBrain toolkit, a powerful open-source speech processing framework built on PyTorch.
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
  ## βš™οΈ Setup Instructions
45
 
@@ -92,47 +129,6 @@ Download from https://ffmpeg.org/download.html and add it to your system PATH.
92
  <pre lang="text"> English_Accent_Audio_Detector/ β”œβ”€β”€ app.py # Main Streamlit application β”œβ”€β”€ README.md # Project documentation with usage instructions β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ packages.txt # System-level packages (e.g., ffmpeg) β”œβ”€β”€ utils/ # Utility modules β”‚ β”œβ”€β”€ __init__.py # Makes utils a package β”‚ β”œβ”€β”€ accent_analysis.py # Logic for analyzing and classifying accents β”‚ β”œβ”€β”€ audio_processing.py# Audio trimming and processing β”‚ β”œβ”€β”€ session_utils.py # Session state utilities β”‚ └── video_processing.py# YouTube/video handling β”œβ”€β”€ models/ # Model management β”œβ”€β”€ __init__.py # Makes models a package β”œβ”€β”€ custom_interface.py# HuggingFace interface for the model └── model_loader.py # Loads Wav2Vec2 and Whisper models </pre>
93
 
94
 
95
- ### πŸš€ How to Use
96
- * Run the app:
97
-
98
- * Choose Input Method:
99
-
100
- * Upload a video file (.mp4, .mov, .avi, .mkv)
101
-
102
- * Or paste a valid YouTube URL.
103
-
104
- * Click "Download Video" (for YouTube) or upload file directly.
105
-
106
- * Click "Extract Audio"
107
- The app:
108
-
109
- * Extracts and trims audio to 2 minutes
110
-
111
- * Transcribes the content
112
-
113
- * Checks for English language
114
-
115
- * Click "Analyze Accent"
116
-
117
- Displays the detected accent and confidence score.
118
-
119
- ### 🧠 Supported English Accents
120
- * American
121
- * British
122
- * Australian
123
- * Indian
124
- * Canadian
125
- * Bermudian
126
- * Scottish
127
- * African
128
- * Irish
129
- * New Zealand
130
- * Welsh
131
- * Malaysian
132
- * Philippine
133
- * Singaporean
134
- * Hong Kong
135
- * South Atlantic
136
 
137
  ### πŸ› οΈ Troubleshooting
138
  FFmpeg Not Found: Ensure it’s installed and accessible from the terminal/command prompt.
 
12
  license: mit
13
  ---
14
 
 
 
 
 
 
 
 
15
 
16
  # πŸŽ™οΈ English Accent Audio Detector
17
 
 
33
 
34
  The model is implemented using the SpeechBrain toolkit, a powerful open-source speech processing framework built on PyTorch.
35
 
36
+ ### πŸš€ How to Use
37
+ * Run the app:
38
+
39
+ * Choose Input Method:
40
+
41
+ * Upload a video file (.mp4, .mov, .avi, .mkv)
42
+
43
+ * Or paste a valid YouTube URL.
44
+
45
+ * Click "Download Video" (for YouTube) or upload file directly.
46
+
47
+ * Click "Extract Audio"
48
+ The app:
49
+
50
+ * Extracts and trims audio to 2 minutes
51
+
52
+ * Transcribes the content
53
+
54
+ * Checks for English language
55
+
56
+ * Click "Analyze Accent"
57
+
58
+ Displays the detected accent and confidence score
59
+
60
+
61
+ ### 🧠 Supported English Accents
62
+ * American
63
+ * British
64
+ * Australian
65
+ * Indian
66
+ * Canadian
67
+ * Bermudian
68
+ * Scottish
69
+ * African
70
+ * Irish
71
+ * New Zealand
72
+ * Welsh
73
+ * Malaysian
74
+ * Philippine
75
+ * Singaporean
76
+ * Hong Kong
77
+ * South Atlantic
78
+
79
+
80
 
81
  ## βš™οΈ Setup Instructions
82
 
 
129
  <pre lang="text"> English_Accent_Audio_Detector/ β”œβ”€β”€ app.py # Main Streamlit application β”œβ”€β”€ README.md # Project documentation with usage instructions β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ packages.txt # System-level packages (e.g., ffmpeg) β”œβ”€β”€ utils/ # Utility modules β”‚ β”œβ”€β”€ __init__.py # Makes utils a package β”‚ β”œβ”€β”€ accent_analysis.py # Logic for analyzing and classifying accents β”‚ β”œβ”€β”€ audio_processing.py# Audio trimming and processing β”‚ β”œβ”€β”€ session_utils.py # Session state utilities β”‚ └── video_processing.py# YouTube/video handling β”œβ”€β”€ models/ # Model management β”œβ”€β”€ __init__.py # Makes models a package β”œβ”€β”€ custom_interface.py# HuggingFace interface for the model └── model_loader.py # Loads Wav2Vec2 and Whisper models </pre>
130
 
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
 
133
  ### πŸ› οΈ Troubleshooting
134
  FFmpeg Not Found: Ensure it’s installed and accessible from the terminal/command prompt.