whispy commited on
Commit
b4f312f
·
1 Parent(s): 43cd0f1

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,6 +89,7 @@ yt_transcribe = gr.Interface(
89
  fn=yt_transcribe,
90
  inputs=[gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL")],
91
  outputs=["html", "text", "text", "text"],
 
92
  layout="horizontal",
93
  theme="huggingface",
94
  title="Whisper Demo: Transcribe, Summarize and Translate YouTube",
@@ -98,7 +99,6 @@ yt_transcribe = gr.Interface(
98
  " arbitrary length. It also uses other two models to first summarize and then translate the text input"
99
  ),
100
  allow_flagging="never",
101
- examples = gr.Examples(examples=["https://www.youtube.com/watch?v=xhWhyu8cBTk"],inputs=[inputs])
102
  )
103
 
104
  with demo:
 
89
  fn=yt_transcribe,
90
  inputs=[gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL")],
91
  outputs=["html", "text", "text", "text"],
92
+ examples = gr.Examples(examples=["https://www.youtube.com/watch?v=xhWhyu8cBTk", "https://www.youtube.com/watch?v=C6Vw_Z3t_2U"]),
93
  layout="horizontal",
94
  theme="huggingface",
95
  title="Whisper Demo: Transcribe, Summarize and Translate YouTube",
 
99
  " arbitrary length. It also uses other two models to first summarize and then translate the text input"
100
  ),
101
  allow_flagging="never",
 
102
  )
103
 
104
  with demo: