jipenaflor commited on
Commit
66e8b96
·
1 Parent(s): cc2c90d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -19,11 +19,11 @@ transcriber = gr.Interface(generate_transcript, 'text', 'text')
19
  summarizer = gr.Interface.load("huggingface/facebook/bart-large-cnn")
20
 
21
  gradio_ui = Series(transcriber, summarizer,
22
- inputs = gr.inputs.Textbox(label = "Enter the Youtube URL below:"),
23
  outputs = gr.outputs.Textbox(label = "Transcript Summary"),
24
- examples = ["https://www.youtube.com/watch?v=mLgTnkw558w&list", "https://www.youtube.com/watch?v=HB4I2CgkcCo"],
25
- title = "Youtube Transcript Summarizer",
26
  theme = "peach",
27
- description = "This application uses facebook/bart-large-cnn to summarize a Youtube video based on its transcript. ")
28
 
29
  gradio_ui.launch()
 
19
  summarizer = gr.Interface.load("huggingface/facebook/bart-large-cnn")
20
 
21
  gradio_ui = Series(transcriber, summarizer,
22
+ inputs = gr.inputs.Textbox(label = "Enter the YouTube URL below:"),
23
  outputs = gr.outputs.Textbox(label = "Transcript Summary"),
24
+ examples = ["https://www.youtube.com/watch?v=Cu3R5it4cQs&list", "https://www.youtube.com/watch?v=HB4I2CgkcCo"],
25
+ title = "YouTube Transcript Summarizer",
26
  theme = "peach",
27
+ description = "This application uses facebook/bart-large-cnn to summarize a short YouTube video that has transcript. The input URL must follow the format similar to the given examples. Examples are videos from GCFLearnFree.org YouTube Channel.")
28
 
29
  gradio_ui.launch()