rajesh1729
commited on
Commit
•
e077c15
1
Parent(s):
c142043
Update app.py
Browse files
app.py
CHANGED
@@ -25,13 +25,12 @@ summarizer = gr.Interface.load("huggingface/facebook/bart-large-cnn")
|
|
25 |
|
26 |
iface = Series(extractor, summarizer,
|
27 |
inputs = gr.inputs.Textbox(
|
28 |
-
lines = 2,
|
29 |
label = 'Type in a topic or your favorite celebrity name to fetch news on that topic/celebrity name'
|
30 |
),
|
31 |
outputs = 'text',
|
32 |
-
title = '
|
33 |
theme = 'peach',
|
34 |
layout = 'horizontal',
|
35 |
-
description = 'It fetches the
|
36 |
|
37 |
iface.launch(debug=True)
|
|
|
25 |
|
26 |
iface = Series(extractor, summarizer,
|
27 |
inputs = gr.inputs.Textbox(
|
|
|
28 |
label = 'Type in a topic or your favorite celebrity name to fetch news on that topic/celebrity name'
|
29 |
),
|
30 |
outputs = 'text',
|
31 |
+
title = 'Instant short News app with Gradio',
|
32 |
theme = 'peach',
|
33 |
layout = 'horizontal',
|
34 |
+
description = 'It fetches the summarized version of a news article based on a given topic')
|
35 |
|
36 |
iface.launch(debug=True)
|