sentivity commited on
Commit
32cc722
·
verified ·
1 Parent(s): 38c4b60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def fetch_articles(ticker):
80
  return [f"Error fetching articles for {ticker}: {str(e)}"]
81
 
82
  # allowed tickers
83
- ALLOWED_TICKERS = {"AAPL", "GOOG", "AMZN", "NVDA", "META"}
84
 
85
  # initialize cache
86
  sentiment_cache = {ticker: {"article": None, "sentiment": None, "timestamp": None} for ticker in ALLOWED_TICKERS}
 
80
  return [f"Error fetching articles for {ticker}: {str(e)}"]
81
 
82
  # allowed tickers
83
+ ALLOWED_TICKERS = {"AAPL", "GOOG", "AMZN", "NVDA", "META",'TSLA','QQQ'}
84
 
85
  # initialize cache
86
  sentiment_cache = {ticker: {"article": None, "sentiment": None, "timestamp": None} for ticker in ALLOWED_TICKERS}