Learto commited on
Commit
bd17a9b
·
1 Parent(s): 701b8e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -24,7 +24,8 @@ def get_advice(sentiment_label, stocks_mentioned):
24
  else:
25
  advice = "Neutral sentiment. The market may not be strongly influenced. Monitor for changes."
26
 
27
- return advice
 
28
 
29
  def predict_sentiment_and_stock_info(headline):
30
  # Sentiment Analysis
 
24
  else:
25
  advice = "Neutral sentiment. The market may not be strongly influenced. Monitor for changes."
26
 
27
+ # return advice
28
+ return sentiment_label
29
 
30
  def predict_sentiment_and_stock_info(headline):
31
  # Sentiment Analysis