Spaces:
Runtime error
Runtime error
jmaciejowski
commited on
Commit
•
91e4ae1
1
Parent(s):
323c2ef
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def main():
|
|
128 |
|
129 |
iface = gr.Interface(fn=gradio_stocknews,
|
130 |
inputs=[gr.Dropdown(choices=["CNBC"], label="Select Source"), gr.Dropdown(choices=[1, 2, 3, 4, 5], label="Select Article Number")],
|
131 |
-
outputs=[gr.Textbox(lines=1, label="Article Title"), gr.Textbox(lines=1, label="Article Link"), gr.Textbox(lines=1, label="Article Summary"), gr.Textbox(lines=1, label="Article Sentiment"), gr.Textbox(lines=1, label="Article Topic"), gr.Image("
|
132 |
title="Latest 5 Stock News Dashboard",
|
133 |
description="Click the button to refresh the news summary.")
|
134 |
|
|
|
128 |
|
129 |
iface = gr.Interface(fn=gradio_stocknews,
|
130 |
inputs=[gr.Dropdown(choices=["CNBC"], label="Select Source"), gr.Dropdown(choices=[1, 2, 3, 4, 5], label="Select Article Number")],
|
131 |
+
outputs=[gr.Textbox(lines=1, label="Article Title"), gr.Textbox(lines=1, label="Article Link"), gr.Textbox(lines=1, label="Article Summary"), gr.Textbox(lines=1, label="Article Sentiment"), gr.Textbox(lines=1, label="Article Topic"), gr.Image("NLP_A2_Poster.jpg", label="Download Model Info/Shorter version in files!")], # Add this line for topic
|
132 |
title="Latest 5 Stock News Dashboard",
|
133 |
description="Click the button to refresh the news summary.")
|
134 |
|