Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,8 +80,8 @@ def format_output(articles):
|
|
| 80 |
|
| 81 |
iface = gr.Interface(
|
| 82 |
fn=summarize_news,
|
| 83 |
-
inputs=[
|
| 84 |
-
outputs=
|
| 85 |
title="News Summarizer",
|
| 86 |
description="Enter a query to get summarized versions of the top news articles."
|
| 87 |
)
|
|
|
|
| 80 |
|
| 81 |
iface = gr.Interface(
|
| 82 |
fn=summarize_news,
|
| 83 |
+
inputs=["textbox", "slider"],
|
| 84 |
+
outputs="textbox",
|
| 85 |
title="News Summarizer",
|
| 86 |
description="Enter a query to get summarized versions of the top news articles."
|
| 87 |
)
|