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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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(