whispy commited on
Commit
3e14be7
1 Parent(s): 3c8bd48

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -88,7 +88,11 @@ mf_transcribe = gr.Interface(
88
  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",
 
88
  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",
92
+ gr.Textbox(label="Transcribed text"),
93
+ gr.Textbox(label="Summarized text"),
94
+ gr.Textbox(label="Translated text"),
95
+ ]
96
  layout="horizontal",
97
  theme="huggingface",
98
  title="Whisper Demo: Transcribe, Summarize and Translate YouTube",