Prathamesh Sarjerao Vaidya
commited on
Commit
·
3543d68
1
Parent(s):
83aa2b7
Update DOCUMENTATION.md
Browse files- DOCUMENTATION.md +40 -89
DOCUMENTATION.md
CHANGED
@@ -193,111 +193,62 @@ These cached demo results ensure instant transcript, translation, and analytics
|
|
193 |
|
194 |
```mermaid
|
195 |
graph TB
|
196 |
-
subgraph "User Interface
|
197 |
A[FastAPI Web Interface]
|
198 |
-
B[
|
199 |
-
C[Real-time Progress Tracking]
|
200 |
-
D[Multi-format Downloads]
|
201 |
end
|
202 |
|
203 |
-
subgraph "Application
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
H[API Endpoints]
|
208 |
end
|
209 |
|
210 |
-
subgraph "AI Processing
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
L[Output Formatting]
|
215 |
end
|
216 |
|
217 |
-
subgraph "
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
P[Configuration]
|
222 |
end
|
223 |
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
S[Whisper Models]
|
228 |
-
T[Translation Models]
|
229 |
-
end
|
230 |
-
|
231 |
-
%% UI Layer connections
|
232 |
A --> E
|
233 |
-
|
|
|
|
|
234 |
C --> G
|
235 |
-
|
236 |
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
G --> H
|
241 |
-
H --> E
|
242 |
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
E --> K
|
247 |
-
E --> L
|
248 |
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
K -->
|
253 |
-
L --> M
|
254 |
-
I --> N
|
255 |
-
J --> N
|
256 |
-
K --> O
|
257 |
-
L --> O
|
258 |
|
259 |
-
%%
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
P --> O
|
265 |
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
Q --> T
|
271 |
-
R --> I
|
272 |
-
S --> J
|
273 |
-
T --> K
|
274 |
-
|
275 |
-
%% Styling for User Interface Layer
|
276 |
-
classDef uiLayer fill:#e1f5fe,stroke:#0277bd,stroke-width:2px,color:#000
|
277 |
-
class A,B,C,D uiLayer
|
278 |
-
|
279 |
-
%% Styling for Application Layer
|
280 |
-
classDef appLayer fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px,color:#000
|
281 |
-
class E,F,G,H appLayer
|
282 |
-
|
283 |
-
%% Styling for AI Processing Layer
|
284 |
-
classDef aiLayer fill:#e8f5e8,stroke:#388e3c,stroke-width:2px,color:#000
|
285 |
-
class I,J,K,L aiLayer
|
286 |
-
|
287 |
-
%% Styling for Data Layer
|
288 |
-
classDef dataLayer fill:#fff3e0,stroke:#f57c00,stroke-width:2px,color:#000
|
289 |
-
class M,N,O,P dataLayer
|
290 |
-
|
291 |
-
%% Styling for External Services
|
292 |
-
classDef extLayer fill:#ffebee,stroke:#d32f2f,stroke-width:2px,color:#000
|
293 |
-
class Q,R,S,T extLayer
|
294 |
-
|
295 |
-
%% Subgraph styling
|
296 |
-
style User Interface Layer fill:#e1f5fe,stroke:#0277bd,stroke-width:3px
|
297 |
-
style Application Layer fill:#f3e5f5,stroke:#7b1fa2,stroke-width:3px
|
298 |
-
style AI Processing Layer fill:#e8f5e8,stroke:#388e3c,stroke-width:3px
|
299 |
-
style Data Layer fill:#fff3e0,stroke:#f57c00,stroke-width:3px
|
300 |
-
style External Services fill:#ffebee,stroke:#d32f2f,stroke-width:3px
|
301 |
```
|
302 |
|
303 |
**Key Architecture Features:**
|
|
|
193 |
|
194 |
```mermaid
|
195 |
graph TB
|
196 |
+
subgraph "User Interface"
|
197 |
A[FastAPI Web Interface]
|
198 |
+
B[Real-time Progress]
|
|
|
|
|
199 |
end
|
200 |
|
201 |
+
subgraph "Core Application"
|
202 |
+
C[AudioIntelligencePipeline]
|
203 |
+
D[Background Tasks]
|
204 |
+
E[API Endpoints]
|
|
|
205 |
end
|
206 |
|
207 |
+
subgraph "AI Processing"
|
208 |
+
F[Speaker Diarization]
|
209 |
+
G[Speech Recognition]
|
210 |
+
H[Neural Translation]
|
|
|
211 |
end
|
212 |
|
213 |
+
subgraph "Storage & Models"
|
214 |
+
I[Model Cache]
|
215 |
+
J[Audio/Result Storage]
|
216 |
+
K[HuggingFace Models]
|
|
|
217 |
end
|
218 |
|
219 |
+
%% Main flow connections
|
220 |
+
A --> C
|
221 |
+
B --> D
|
|
|
|
|
|
|
|
|
|
|
222 |
A --> E
|
223 |
+
E --> C
|
224 |
+
|
225 |
+
C --> F
|
226 |
C --> G
|
227 |
+
C --> H
|
228 |
|
229 |
+
F --> I
|
230 |
+
G --> I
|
231 |
+
H --> I
|
|
|
|
|
232 |
|
233 |
+
F --> J
|
234 |
+
G --> J
|
235 |
+
H --> J
|
|
|
|
|
236 |
|
237 |
+
I --> K
|
238 |
+
K --> F
|
239 |
+
K --> G
|
240 |
+
K --> H
|
|
|
|
|
|
|
|
|
|
|
241 |
|
242 |
+
%% Styling
|
243 |
+
classDef ui fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
|
244 |
+
classDef app fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px
|
245 |
+
classDef ai fill:#e8f5e8,stroke:#388e3c,stroke-width:2px
|
246 |
+
classDef storage fill:#fff3e0,stroke:#f57c00,stroke-width:2px
|
|
|
247 |
|
248 |
+
class A,B ui
|
249 |
+
class C,D,E app
|
250 |
+
class F,G,H ai
|
251 |
+
class I,J,K storage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
```
|
253 |
|
254 |
**Key Architecture Features:**
|