Spaces:
Sleeping
Sleeping
Update app_v2.py
Browse files
app_v2.py
CHANGED
|
@@ -278,14 +278,7 @@ def create_interface():
|
|
| 278 |
box-shadow: var(--shadow-md) !important;
|
| 279 |
}
|
| 280 |
|
| 281 |
-
|
| 282 |
-
background: transparent !important;
|
| 283 |
-
border: none !important;
|
| 284 |
-
box-shadow: none !important;
|
| 285 |
-
padding: 0 !important;
|
| 286 |
-
margin-bottom: 24px !important;
|
| 287 |
-
}
|
| 288 |
-
|
| 289 |
#main-content-row {
|
| 290 |
min-height: 9vh;
|
| 291 |
}
|
|
@@ -358,56 +351,63 @@ def create_interface():
|
|
| 358 |
</div>
|
| 359 |
""")
|
| 360 |
|
| 361 |
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 411 |
|
| 412 |
with gr.Row():
|
| 413 |
placeholder = "-- Please select an audio file --"
|
|
|
|
| 278 |
box-shadow: var(--shadow-md) !important;
|
| 279 |
}
|
| 280 |
|
| 281 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 282 |
#main-content-row {
|
| 283 |
min-height: 9vh;
|
| 284 |
}
|
|
|
|
| 351 |
</div>
|
| 352 |
""")
|
| 353 |
|
| 354 |
+
gr.HTML(
|
| 355 |
+
"""
|
| 356 |
+
<div style="
|
| 357 |
+
padding: 30px 34px;
|
| 358 |
+
border-radius: 20px;
|
| 359 |
+
background: white;
|
| 360 |
+
border: none;
|
| 361 |
+
box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
|
| 362 |
+
margin-bottom: 24px;
|
| 363 |
+
">
|
| 364 |
+
<h2 style="
|
| 365 |
+
margin: 0 0 22px 0;
|
| 366 |
+
font-size: 2.1rem;
|
| 367 |
+
font-weight: 800;
|
| 368 |
+
color: #1e293b;
|
| 369 |
+
line-height: 1.2;
|
| 370 |
+
">
|
| 371 |
+
About This Demo
|
| 372 |
+
</h2>
|
| 373 |
+
|
| 374 |
+
<p style="
|
| 375 |
+
margin: 0 0 20px 0;
|
| 376 |
+
font-size: 1.08rem;
|
| 377 |
+
line-height: 1.9;
|
| 378 |
+
color: #334155;
|
| 379 |
+
">
|
| 380 |
+
This demo showcases the results of a powerful pipeline designed to process long audio files with multiple speakers and languages:
|
| 381 |
+
</p>
|
| 382 |
+
|
| 383 |
+
<ol style="
|
| 384 |
+
margin: 0;
|
| 385 |
+
padding-left: 28px;
|
| 386 |
+
color: #334155;
|
| 387 |
+
font-size: 1.06rem;
|
| 388 |
+
line-height: 1.9;
|
| 389 |
+
">
|
| 390 |
+
<li style="margin-bottom: 14px;">
|
| 391 |
+
<strong style="color:#1e293b;">Speaker Diarization:</strong>
|
| 392 |
+
Identifies <em>who</em> spoke and <em>when</em>.
|
| 393 |
+
</li>
|
| 394 |
+
<li style="margin-bottom: 14px;">
|
| 395 |
+
<strong style="color:#1e293b;">Multilingual Transcription:</strong>
|
| 396 |
+
Transcribes each speaker's segment, automatically detecting the language.
|
| 397 |
+
</li>
|
| 398 |
+
<li style="margin-bottom: 0;">
|
| 399 |
+
<strong style="color:#1e293b;">LLM Analysis:</strong>
|
| 400 |
+
Uses a Large Language Model to summarize the transcript, extract action items, and generate key insights.
|
| 401 |
+
</li>
|
| 402 |
+
</ol>
|
| 403 |
+
</div>
|
| 404 |
+
""",
|
| 405 |
+
elem_id="about-demo-box",
|
| 406 |
+
container=False,
|
| 407 |
+
padding=False,
|
| 408 |
+
apply_default_css=False,
|
| 409 |
+
)
|
| 410 |
+
|
| 411 |
|
| 412 |
with gr.Row():
|
| 413 |
placeholder = "-- Please select an audio file --"
|