Spaces:
Runtime error
Runtime error
update app
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
colorFrom: green
|
5 |
colorTo: yellow
|
6 |
sdk: gradio
|
|
|
1 |
---
|
2 |
+
title: Youtube Summarization
|
3 |
+
emoji: 📹
|
4 |
colorFrom: green
|
5 |
colorTo: yellow
|
6 |
sdk: gradio
|
app.py
CHANGED
@@ -3,11 +3,11 @@ from summarize import Summarizer
|
|
3 |
|
4 |
interface = gr.Interface(fn = Summarizer,
|
5 |
inputs = [gr.inputs.Textbox(lines=2,
|
6 |
-
placeholder="Enter your
|
7 |
label='YouTube Video Link'),
|
8 |
gr.inputs.Radio(["mT5", "BART", "Pegasus"], type="value", label='Model')],
|
9 |
outputs = [gr.outputs.Textbox(
|
10 |
-
label="
|
11 |
|
12 |
title = "Youtube Summarizer",
|
13 |
examples = [['https://www.youtube.com/watch?v=A4OmtyaBHFE', 'mT5'],
|
|
|
3 |
|
4 |
interface = gr.Interface(fn = Summarizer,
|
5 |
inputs = [gr.inputs.Textbox(lines=2,
|
6 |
+
placeholder="Enter your link...",
|
7 |
label='YouTube Video Link'),
|
8 |
gr.inputs.Radio(["mT5", "BART", "Pegasus"], type="value", label='Model')],
|
9 |
outputs = [gr.outputs.Textbox(
|
10 |
+
label="Summary")],
|
11 |
|
12 |
title = "Youtube Summarizer",
|
13 |
examples = [['https://www.youtube.com/watch?v=A4OmtyaBHFE', 'mT5'],
|