storresbusquets commited on
Commit
d0a463e
·
1 Parent(s): 69a21ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -3
app.py CHANGED
@@ -359,14 +359,39 @@ with block:
359
 
360
  with gr.Accordion("What is YouTube Insights?", open=False):
361
  gr.Markdown(
362
- "YouTube Insights is a tool developed with academic purposes only, that creates summaries, keywords and sentiments analysis based on YouTube videos or user audio files."
363
  )
364
 
365
- with gr.Accordion("How does it work?", open=False):
366
  gr.Markdown(
367
- "Works by using OpenAI's Whisper, BART for summarization and VoiceLabT5 for Keyword Extraction."
368
  )
369
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  gr.HTML(
371
  """
372
  <div style="text-align: center; max-width: 500px; margin: 0 auto;">
 
359
 
360
  with gr.Accordion("What is YouTube Insights?", open=False):
361
  gr.Markdown(
362
+ "YouTube Insights is a tool developed for academic purposes that allows you to analyze YouTube videos or audio files. It provides features like transcription, summarization, keyword extraction, sentiment analysis, and word cloud generation for multimedia content."
363
  )
364
 
365
+ with gr.Accordion("How does YouTube Insights work?", open=False):
366
  gr.Markdown(
367
+ "YouTube Insights leverages several powerful AI models and libraries. It uses OpenAI's Whisper for Automatic Speech Recognition (ASR) to transcribe audio content. It summarizes the transcribed text using Facebook's BART model, extracts keywords with VoiceLabT5, performs sentiment analysis with DistilBERT, and generates word clouds."
368
  )
369
 
370
+ with gr.Accordion("What languages are supported for the analysis?", open=False):
371
+ gr.Markdown(
372
+ "YouTube Insights supports multiple languages for transcription and analysis. You can select your preferred language from the available options when using the app."
373
+ )
374
+
375
+ with gr.Accordion("Can I analyze audio files instead of YouTube videos?", open=False):
376
+ gr.Markdown(
377
+ "Yes, you can analyze audio files directly. Simply upload your audio file to the app, and it will provide the same transcription, summarization, keyword extraction, sentiment analysis, and word cloud generation features."
378
+ )
379
+
380
+ with gr.Accordion("What are the different model sizes available for transcription?", open=False):
381
+ gr.Markdown(
382
+ "The app uses a Speech-to-text model that has different training sizes, from tiny to large. Hence, the bigger the model the accurate the transcription."
383
+ )
384
+
385
+ with gr.Accordion("How long does it take to analyze a video or audio file?", open=False):
386
+ gr.Markdown(
387
+ "The time taken for analysis may vary based on the duration of the video or audio file and the selected model size. Shorter content will be processed more quickly."
388
+ )
389
+
390
+ with gr.Accordion("Who developed YouTube Insights?" ,open=False):
391
+ gr.Markdown(
392
+ "YouTube Insights was developed by students as part of the 2022/23 Master's in Big Data & Data Science program at Universidad Complutense de Madrid for academic purposes (Trabajo de Fin de Master)."
393
+ )
394
+
395
  gr.HTML(
396
  """
397
  <div style="text-align: center; max-width: 500px; margin: 0 auto;">