ginipick commited on
Commit
e15181e
·
verified ·
1 Parent(s): 4a71c2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -42,12 +42,8 @@ def get_summary(article):
42
  return b
43
 
44
  with gr.Blocks() as demo:
45
- gr.Markdown("<h1><center>Free Fast YouTube URL Video-to-Text using <a href=https://openai.com/blog/whisper/ target=_blank>OpenAI's Whisper</a> Model</center></h1>")
46
- #gr.Markdown("<center>Enter the link of any YouTube video to generate a text transcript of the video and then create a summary of the video transcript.</center>")
47
- gr.Markdown("<center>Enter the link of any YouTube video to generate a text transcript of the video.</center>")
48
- gr.Markdown("<center><b>'Whisper is a neural net that approaches human level robustness and accuracy on English speech recognition.'</b></center>")
49
- gr.Markdown("<center>Transcription takes 5-10 seconds per minute of the video (bad audio/hard accents slow it down a bit). #patience<br />If you have time while waiting, drop a ♥️ and check out my <a href=https://www.artificial-intelligence.blog target=_blank>AI blog</a> (opens in new tab).</center>")
50
-
51
  input_text_url = gr.Textbox(placeholder='Youtube video URL', label='YouTube URL')
52
  result_button_transcribe = gr.Button('Transcribe')
53
  output_text_transcribe = gr.Textbox(placeholder='Transcript of the YouTube video.', label='Transcript')
 
42
  return b
43
 
44
  with gr.Blocks() as demo:
45
+ gr.Markdown("<h1><center>YouTube URL Video-to-Text using <a href=https://openai.com/blog/whisper/ target=_blank>GPTube</a> Model</center></h1>")
46
+
 
 
 
 
47
  input_text_url = gr.Textbox(placeholder='Youtube video URL', label='YouTube URL')
48
  result_button_transcribe = gr.Button('Transcribe')
49
  output_text_transcribe = gr.Textbox(placeholder='Transcript of the YouTube video.', label='Transcript')