Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,8 @@ yt_transcribe = gr.Interface(
|
|
34 |
fn=transcribe_audio,
|
35 |
inputs=[
|
36 |
gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
37 |
-
gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe")
|
|
|
38 |
],
|
39 |
outputs=["html", "text"],
|
40 |
layout="horizontal",
|
|
|
34 |
fn=transcribe_audio,
|
35 |
inputs=[
|
36 |
gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
37 |
+
gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
38 |
+
gr.inputs.Checkbox(label="Return timestamps")
|
39 |
],
|
40 |
outputs=["html", "text"],
|
41 |
layout="horizontal",
|