Illia56 commited on
Commit
832942a
1 Parent(s): 9744520

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -33,12 +33,12 @@ EXAMPLES = [
33
  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
- gr.inputs.Checkbox(label="Return timestamps")
39
  ],
40
- outputs=[gr.outputs.HTML(label="Video"),
41
- gr.outputs.Textbox(label="Transcription").style(show_copy_button=True)],
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",