Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,8 @@ def predict_sentiment_and_stock_info(headline):
|
|
51 |
# Advice based on sentiment and identified stocks
|
52 |
advice = get_advice(sentiment_label, stocks_mentioned)
|
53 |
|
54 |
-
return sentiment_label, advice
|
|
|
55 |
|
56 |
# Gradio Interface
|
57 |
'''iface = gr.Interface(
|
|
|
51 |
# Advice based on sentiment and identified stocks
|
52 |
advice = get_advice(sentiment_label, stocks_mentioned)
|
53 |
|
54 |
+
# return sentiment_label, advice
|
55 |
+
return sentiment_label
|
56 |
|
57 |
# Gradio Interface
|
58 |
'''iface = gr.Interface(
|