Spaces:
Runtime error
Runtime error
Commit
·
f5f4c02
1
Parent(s):
fabcf53
Update app.py
Browse files
app.py
CHANGED
@@ -67,10 +67,10 @@ iface.launch()'''
|
|
67 |
# Gradio Interface
|
68 |
iface = gr.Interface(
|
69 |
fn=predict_sentiment_and_stock_info,
|
70 |
-
inputs=[gr.
|
71 |
outputs=[
|
72 |
-
gr.
|
73 |
-
gr.
|
74 |
],
|
75 |
live=True,
|
76 |
title="Financial News Sentiment and Stock Analysis",
|
|
|
67 |
# Gradio Interface
|
68 |
iface = gr.Interface(
|
69 |
fn=predict_sentiment_and_stock_info,
|
70 |
+
inputs=[gr.Textbox(lines=2, label="Headline")],
|
71 |
outputs=[
|
72 |
+
gr.Textbox(label="Sentiment"),
|
73 |
+
gr.Textbox(label="Advice")
|
74 |
],
|
75 |
live=True,
|
76 |
title="Financial News Sentiment and Stock Analysis",
|