Illia56 commited on
Commit
88ca9aa
1 Parent(s): a56fbd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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",