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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -51,8 +51,7 @@ 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
- return sentiment_label
56
 
57
  # Gradio Interface
58
  '''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
 
56
  # Gradio Interface
57
  '''iface = gr.Interface(