Spaces:
Runtime error
Runtime error
ritwikraha
commited on
Commit
·
b26d75a
1
Parent(s):
4949e74
:chore: checking
Browse files
app.py
CHANGED
@@ -49,11 +49,8 @@ def create_gradio_interface():
|
|
49 |
Create and launch a Gradio interface for transcribing YouTube videos.
|
50 |
"""
|
51 |
with gr.Blocks() as demo:
|
52 |
-
gr.Markdown("<h1><center>
|
53 |
-
gr.Markdown("<center>Enter the link of any YouTube video
|
54 |
-
gr.Markdown("<center><b>'Whisper is a neural net that approaches human level robustness and accuracy on English speech recognition.'</b></center>")
|
55 |
-
gr.Markdown("<center>Transcription takes 5-10 seconds per minute of the video. #patience<br />If you have time while waiting, check out my <a href=https://www.artificial-intelligence.blog target=_blank>AI blog</a> (opens in new tab).</center>")
|
56 |
-
|
57 |
input_text_url = gr.Textbox(placeholder='Youtube video URL', label='YouTube URL')
|
58 |
result_button_transcribe = gr.Button('Transcribe')
|
59 |
output_text_transcribe = gr.Textbox(placeholder='Transcript of the YouTube video.', label='Transcript')
|
|
|
49 |
Create and launch a Gradio interface for transcribing YouTube videos.
|
50 |
"""
|
51 |
with gr.Blocks() as demo:
|
52 |
+
gr.Markdown("<h1><center>Trascribe Videos using <a href=https://openai.com/blog/whisper/ target=_blank>Whisper</a></center></h1>")
|
53 |
+
gr.Markdown("<center>Enter the link of any YouTube video.</center>")
|
|
|
|
|
|
|
54 |
input_text_url = gr.Textbox(placeholder='Youtube video URL', label='YouTube URL')
|
55 |
result_button_transcribe = gr.Button('Transcribe')
|
56 |
output_text_transcribe = gr.Textbox(placeholder='Transcript of the YouTube video.', label='Transcript')
|