Prathamesh Sarjerao Vaidya
commited on
Commit
Β·
8c5e398
1
Parent(s):
5e6e4ea
made some changes
Browse files- DOCUMENTATION.md +75 -57
- README.md +25 -17
DOCUMENTATION.md
CHANGED
|
@@ -193,63 +193,81 @@ These cached demo results ensure instant transcript, translation, and analytics
|
|
| 193 |
|
| 194 |
```mermaid
|
| 195 |
graph TB
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
```
|
| 254 |
|
| 255 |
**Key Architecture Features:**
|
|
|
|
| 193 |
|
| 194 |
```mermaid
|
| 195 |
graph TB
|
| 196 |
+
|
| 197 |
+
%% Define classes for styling
|
| 198 |
+
classDef ui fill:#cce5ff,stroke:#004085,stroke-width:2px;
|
| 199 |
+
classDef app fill:#d4edda,stroke:#155724,stroke-width:2px;
|
| 200 |
+
classDef ai fill:#f8d7da,stroke:#721c24,stroke-width:2px;
|
| 201 |
+
classDef data fill:#fff3cd,stroke:#856404,stroke-width:2px;
|
| 202 |
+
classDef external fill:#e2e3e5,stroke:#383d41,stroke-width:2px;
|
| 203 |
+
|
| 204 |
+
%% UI Layer
|
| 205 |
+
subgraph "User Interface Layer"
|
| 206 |
+
A[FastAPI Web Interface]
|
| 207 |
+
B[Interactive Visualizations]
|
| 208 |
+
C[Real-time Progress Tracking]
|
| 209 |
+
D[Multi-format Downloads]
|
| 210 |
+
end
|
| 211 |
+
class A,B,C,D ui;
|
| 212 |
+
|
| 213 |
+
%% Application Layer
|
| 214 |
+
subgraph "Application Layer"
|
| 215 |
+
E[AudioIntelligencePipeline]
|
| 216 |
+
F[Model Preloader]
|
| 217 |
+
G[Background Task Manager]
|
| 218 |
+
H[API Endpoints]
|
| 219 |
+
end
|
| 220 |
+
class E,F,G,H app;
|
| 221 |
+
|
| 222 |
+
%% AI Processing Layer
|
| 223 |
+
subgraph "AI Processing Layer"
|
| 224 |
+
I[Speaker Diarization]
|
| 225 |
+
J[Speech Recognition]
|
| 226 |
+
K[Neural Translation]
|
| 227 |
+
L[Output Formatting]
|
| 228 |
+
end
|
| 229 |
+
class I,J,K,L ai;
|
| 230 |
+
|
| 231 |
+
%% Data Layer
|
| 232 |
+
subgraph "Data Layer"
|
| 233 |
+
M[Model Cache]
|
| 234 |
+
N[Audio Storage]
|
| 235 |
+
O[Result Storage]
|
| 236 |
+
P[Configuration]
|
| 237 |
+
end
|
| 238 |
+
class M,N,O,P data;
|
| 239 |
+
|
| 240 |
+
%% External Services
|
| 241 |
+
subgraph "External Services"
|
| 242 |
+
Q[HuggingFace Hub]
|
| 243 |
+
R[pyannote.audio Models]
|
| 244 |
+
S[Whisper Models]
|
| 245 |
+
T[Translation Models]
|
| 246 |
+
end
|
| 247 |
+
class Q,R,S,T external;
|
| 248 |
+
|
| 249 |
+
%% Connections
|
| 250 |
+
A --> E
|
| 251 |
+
B --> F
|
| 252 |
+
C --> G
|
| 253 |
+
D --> H
|
| 254 |
+
E --> I
|
| 255 |
+
E --> J
|
| 256 |
+
E --> K
|
| 257 |
+
E --> L
|
| 258 |
+
I --> M
|
| 259 |
+
J --> N
|
| 260 |
+
K --> O
|
| 261 |
+
L --> P
|
| 262 |
+
F --> Q
|
| 263 |
+
Q --> R
|
| 264 |
+
Q --> S
|
| 265 |
+
Q --> T
|
| 266 |
+
E --> F
|
| 267 |
+
F --> G
|
| 268 |
+
G --> H
|
| 269 |
+
M --> N
|
| 270 |
+
N --> O
|
| 271 |
```
|
| 272 |
|
| 273 |
**Key Architecture Features:**
|
README.md
CHANGED
|
@@ -40,6 +40,11 @@ The Multilingual Audio Intelligence System is an advanced AI-powered platform th
|
|
| 40 |
|
| 41 |

|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
## Installation and Quick Start
|
| 44 |
|
| 45 |
1. **Clone the Repository:**
|
|
@@ -78,24 +83,27 @@ The Multilingual Audio Intelligence System is an advanced AI-powered platform th
|
|
| 78 |
## File Structure
|
| 79 |
|
| 80 |
```
|
| 81 |
-
|
| 82 |
-
βββ web_app.py
|
| 83 |
-
βββ
|
| 84 |
-
βββ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
βββ templates/
|
| 86 |
-
β βββ index.html
|
| 87 |
-
βββ
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
β βββ utils.py # Utility functions
|
| 95 |
-
βββ static/ # Static assets
|
| 96 |
-
βββ uploads/ # Uploaded files
|
| 97 |
-
βββ outputs/ # Generated outputs
|
| 98 |
-
βββ README.md
|
| 99 |
```
|
| 100 |
|
| 101 |
## Configuration
|
|
|
|
| 40 |
|
| 41 |

|
| 42 |
|
| 43 |
+
## Demo & Documentation
|
| 44 |
+
|
| 45 |
+
- π₯ [Video Preview]()
|
| 46 |
+
- π [Project Documentation](DOCUMENTATION.md)
|
| 47 |
+
|
| 48 |
## Installation and Quick Start
|
| 49 |
|
| 50 |
1. **Clone the Repository:**
|
|
|
|
| 83 |
## File Structure
|
| 84 |
|
| 85 |
```
|
| 86 |
+
Multilingual-Audio-Intelligence-System/
|
| 87 |
+
βββ web_app.py # FastAPI application with RESTful endpoints
|
| 88 |
+
βββ model_preloader.py # Intelligent model loading with progress tracking
|
| 89 |
+
βββ run_fastapi.py # Application startup script with preloading
|
| 90 |
+
βββ src/
|
| 91 |
+
β βββ main.py # AudioIntelligencePipeline orchestrator
|
| 92 |
+
β βββ audio_processor.py # Advanced audio preprocessing and normalization
|
| 93 |
+
β βββ speaker_diarizer.py # pyannote.audio integration for speaker identification
|
| 94 |
+
β βββ speech_recognizer.py # faster-whisper ASR with language detection
|
| 95 |
+
β βββ translator.py # Neural machine translation with multiple models
|
| 96 |
+
β βββ output_formatter.py # Multi-format result generation and export
|
| 97 |
+
β βββ utils.py # Utility functions and performance monitoring
|
| 98 |
βββ templates/
|
| 99 |
+
β βββ index.html # Responsive web interface with home page
|
| 100 |
+
βββ static/ # Static assets and client-side resources
|
| 101 |
+
βββ model_cache/ # Intelligent model caching directory
|
| 102 |
+
βββ uploads/ # User audio file storage
|
| 103 |
+
βββ outputs/ # Generated results and downloads
|
| 104 |
+
βββ requirements.txt # Comprehensive dependency specification
|
| 105 |
+
βββ Dockerfile # Production-ready containerization
|
| 106 |
+
βββ config.example.env # Environment configuration template
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
```
|
| 108 |
|
| 109 |
## Configuration
|