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

Update app.py

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