Spaces:
Runtime error
Runtime error
Commit
·
9436bab
1
Parent(s):
1ad7e43
Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,11 @@ description = '''
|
|
30 |
|
31 |
demo = gr.Interface(
|
32 |
fn=article_selection,
|
|
|
33 |
inputs = gr.Dropdown(["Positive","Negative","Neutral"], label="What type of news articles would you like recommended?"),
|
34 |
outputs = gr.Textbox(label="Recommended News Articles"),
|
35 |
-
description = description
|
|
|
36 |
|
37 |
|
38 |
#TODO
|
|
|
30 |
|
31 |
demo = gr.Interface(
|
32 |
fn=article_selection,
|
33 |
+
title = 'Extractive News Summarizer BART',
|
34 |
inputs = gr.Dropdown(["Positive","Negative","Neutral"], label="What type of news articles would you like recommended?"),
|
35 |
outputs = gr.Textbox(label="Recommended News Articles"),
|
36 |
+
description = description,
|
37 |
+
examples=predictions_df_urls)
|
38 |
|
39 |
|
40 |
#TODO
|