samir-fama commited on
Commit
cc89b7d
·
1 Parent(s): b42b2a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ import os
9
  import re
10
 
11
 
12
- model = whisper.load_model("tiny")
13
 
14
  # def compress_audio(file_path, bitrate='32k'):
15
  # try:
@@ -52,7 +52,7 @@ with gr.Blocks() as demo:
52
  gr.Markdown("<h1>Samir's AI Model Implementation - Automatic Speech Recognition</h1>")
53
  gr.Markdown("<h2>YouTube Audio AutoTranscribe: Effortless Transcription</h2>")
54
  gr.Markdown("<b>This application is using <a href=https://openai.com/blog/whisper/ target=_blank>OpenAI's Whisper</a>. Whisper is an intricately designed <br>neural network aiming to achieve the highest precision in the field of multilingual speech recognition.</b>")
55
- gr.Markdown("<b>The time for the model to perform transcription typically takes around 15 seconds for every 1 minute of video. <br>For example, a 10-minute video would take approximately 150 seconds to transcribe the audio content.</b>")
56
 
57
  input_text_url = gr.Textbox(placeholder='Youtube Video URL', label='👇YouTube URL👇')
58
  result_button_transcribe = gr.Button('Transcribe Now')
 
9
  import re
10
 
11
 
12
+ model = whisper.load_model("base")
13
 
14
  # def compress_audio(file_path, bitrate='32k'):
15
  # try:
 
52
  gr.Markdown("<h1>Samir's AI Model Implementation - Automatic Speech Recognition</h1>")
53
  gr.Markdown("<h2>YouTube Audio AutoTranscribe: Effortless Transcription</h2>")
54
  gr.Markdown("<b>This application is using <a href=https://openai.com/blog/whisper/ target=_blank>OpenAI's Whisper</a>. Whisper is an intricately designed <br>neural network aiming to achieve the highest precision in the field of multilingual speech recognition.</b>")
55
+ gr.Markdown("<b>The time for the model to perform transcription typically takes around 30 seconds for every 1 minute of video. <br>For example, a 10-minute video would take approximately 300 seconds to transcribe the audio content.</b>")
56
 
57
  input_text_url = gr.Textbox(placeholder='Youtube Video URL', label='👇YouTube URL👇')
58
  result_button_transcribe = gr.Button('Transcribe Now')