Spaces:
Runtime error
Runtime error
Commit
·
4b510ea
1
Parent(s):
d1de822
Update app.py
Browse files
app.py
CHANGED
@@ -71,10 +71,9 @@ with gr.Blocks(css = css) as demo:
|
|
71 |
|
72 |
with gr.Row():
|
73 |
transcript_output = gr.Textbox(label="Transcription in the language spoken", lines = 20)
|
74 |
-
summary_output = gr.Textbox(label = "English Summary", lines = 10)
|
75 |
|
76 |
-
transcribe_audio_yt.click(transcribe_yt, inputs = yt_input, outputs =
|
77 |
-
transcribe_audio_u.click(transcribe_upload, inputs = audio_input_u, outputs =
|
78 |
gr.HTML('''
|
79 |
<div class="footer">
|
80 |
<p>Whisper Model by <a href="https://github.com/openai/whisper" style="text-decoration: underline;" target="_blank">OpenAI</a>
|
|
|
71 |
|
72 |
with gr.Row():
|
73 |
transcript_output = gr.Textbox(label="Transcription in the language spoken", lines = 20)
|
|
|
74 |
|
75 |
+
transcribe_audio_yt.click(transcribe_yt, inputs = yt_input, outputs = transcript_output)
|
76 |
+
transcribe_audio_u.click(transcribe_upload, inputs = audio_input_u, outputs = transcript_output)
|
77 |
gr.HTML('''
|
78 |
<div class="footer">
|
79 |
<p>Whisper Model by <a href="https://github.com/openai/whisper" style="text-decoration: underline;" target="_blank">OpenAI</a>
|