Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,12 +33,12 @@ EXAMPLES = [
|
|
33 |
yt_transcribe = gr.Interface(
|
34 |
fn=transcribe_audio,
|
35 |
inputs=[
|
36 |
-
gr.
|
37 |
-
gr.
|
38 |
-
gr.
|
39 |
],
|
40 |
-
outputs=[gr.
|
41 |
-
gr.
|
42 |
layout="horizontal",
|
43 |
theme=gr.themes.Base(),
|
44 |
title="Whisper Large V2: Transcribe YouTube",
|
|
|
33 |
yt_transcribe = gr.Interface(
|
34 |
fn=transcribe_audio,
|
35 |
inputs=[
|
36 |
+
gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
37 |
+
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
38 |
+
gr.Checkbox(label="Return timestamps")
|
39 |
],
|
40 |
+
outputs=[gr.HTML(label="Video"),
|
41 |
+
gr.Textbox(label="Transcription").style(show_copy_button=True)],
|
42 |
layout="horizontal",
|
43 |
theme=gr.themes.Base(),
|
44 |
title="Whisper Large V2: Transcribe YouTube",
|