Spaces:
Runtime error
Runtime error
Commit ·
66e8b96
1
Parent(s): cc2c90d
Update app.py
Browse files
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
|
| 23 |
outputs = gr.outputs.Textbox(label = "Transcript Summary"),
|
| 24 |
-
examples = ["https://www.youtube.com/watch?v=
|
| 25 |
-
title = "
|
| 26 |
theme = "peach",
|
| 27 |
-
description = "This application uses facebook/bart-large-cnn to summarize a
|
| 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()
|