elmadany commited on
Commit
01e01d1
·
verified ·
1 Parent(s): 10e4969

Update app_v2.py

Browse files
Files changed (1) hide show
  1. app_v2.py +58 -58
app_v2.py CHANGED
@@ -278,14 +278,7 @@ def create_interface():
278
  box-shadow: var(--shadow-md) !important;
279
  }
280
 
281
- #about-demo-box {
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
- with gr.Group(elem_id="about-demo-box"):
362
- gr.HTML("""
363
- <div style="
364
- padding: 30px 34px;
365
- border-radius: 20px;
366
- background: white;
367
- border: none;
368
- box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
369
- ">
370
- <h2 style="
371
- margin: 0 0 22px 0;
372
- font-size: 2.1rem;
373
- font-weight: 800;
374
- color: #1e293b;
375
- line-height: 1.2;
376
- ">
377
- About This Demo
378
- </h2>
379
-
380
- <p style="
381
- margin: 0 0 20px 0;
382
- font-size: 1.08rem;
383
- line-height: 1.9;
384
- color: #334155;
385
- ">
386
- This demo showcases the results of a powerful pipeline designed to process long audio files with multiple speakers and languages:
387
- </p>
388
-
389
- <ol style="
390
- margin: 0;
391
- padding-left: 28px;
392
- color: #334155;
393
- font-size: 1.06rem;
394
- line-height: 1.9;
395
- ">
396
- <li style="margin-bottom: 14px;">
397
- <strong style="color:#1e293b;">Speaker Diarization:</strong>
398
- Identifies <em>who</em> spoke and <em>when</em>.
399
- </li>
400
- <li style="margin-bottom: 14px;">
401
- <strong style="color:#1e293b;">Multilingual Transcription:</strong>
402
- Transcribes each speaker's segment, automatically detecting the language.
403
- </li>
404
- <li style="margin-bottom: 0;">
405
- <strong style="color:#1e293b;">LLM Analysis:</strong>
406
- Uses a Large Language Model to summarize the transcript, extract action items, and generate key insights.
407
- </li>
408
- </ol>
409
- </div>
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 --"