sentivity commited on
Commit
24c86e7
·
verified ·
1 Parent(s): 8afe853

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def fetch_articles(ticker):
67
  article = data["results"][0]
68
  title = article.get("title", "")
69
  description = article.get("description", "")
70
- return [title + " " + description]
71
  else:
72
  return [f"No news articles found for {ticker}."]
73
  except Exception as e:
 
67
  article = data["results"][0]
68
  title = article.get("title", "")
69
  description = article.get("description", "")
70
+ return [title]
71
  else:
72
  return [f"No news articles found for {ticker}."]
73
  except Exception as e: