Spaces:
Runtime error
Runtime error
Commit
·
d37b823
1
Parent(s):
d4de43d
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from summarize import Summarizer
|
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')],
|
|
|
2 |
from summarize import Summarizer
|
3 |
|
4 |
interface = gr.Interface(fn = Summarizer,
|
5 |
+
inputs = [gr.inputs.Textbox(lines=2, value="https://www.youtube.com/watch?v=A4OmtyaBHFE",
|
6 |
placeholder="Enter your link...",
|
7 |
label='YouTube Video Link'),
|
8 |
gr.inputs.Radio(["mT5", "BART", "Pegasus"], type="value", label='Model')],
|