Spaces:
Runtime error
Runtime error
Commit
·
0b23e33
1
Parent(s):
70cee75
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,11 +23,10 @@ summarizer_model = gr.Interface.load("huggingface/sshleifer/distilbart-cnn-12-6"
|
|
| 23 |
Demo_application = Series(generate_transcript_function, summarizer_model,
|
| 24 |
inputs = gr.inputs.Textbox(label = "Enter the YouTube URL: "),
|
| 25 |
outputs = gr.outputs.Textbox(label = "Youtube Video Summary"),
|
| 26 |
-
examples = ["https://www.youtube.com/watch?v=
|
| 27 |
title = "YouTube Video Summarizer",
|
| 28 |
theme = "grass",
|
| 29 |
-
description = "This application uses the sshleifer/distilbart-cnn-12-6 model to Summarize Youtube Videos. Click on one of the examples given below or Enter a video URL of your choice!
|
| 30 |
-
C',
|
| 31 |
allow_flagging=False)
|
| 32 |
|
| 33 |
Demo_application.launch()
|
|
|
|
| 23 |
Demo_application = Series(generate_transcript_function, summarizer_model,
|
| 24 |
inputs = gr.inputs.Textbox(label = "Enter the YouTube URL: "),
|
| 25 |
outputs = gr.outputs.Textbox(label = "Youtube Video Summary"),
|
| 26 |
+
examples = ["https://www.youtube.com/watch?v=i0h7N1ukZ4A&ab_channel=TED", "https://www.youtube.com/watch?v=dv9q7Ema40k&t=3s&ab_channel=Simplilearn"],
|
| 27 |
title = "YouTube Video Summarizer",
|
| 28 |
theme = "grass",
|
| 29 |
+
description = "This application uses the sshleifer/distilbart-cnn-12-6 model to Summarize Youtube Videos. Click on one of the examples given below or Enter a video URL of your choice! Example 1 - The brain-changing benefits of exercise | TED , Example 2 - Future of AI | Simplilean ",
|
|
|
|
| 30 |
allow_flagging=False)
|
| 31 |
|
| 32 |
Demo_application.launch()
|