youngshen commited on
Commit
82ab075
·
verified ·
1 Parent(s): b68b40e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ speaker_embeddings = {
21
 
22
  def getNews(search_key):
23
  return requests.get ("https://newsapi.org/v2/everything?q=" +search_key+ "&apiKey=3bca07c913ec4703a23f6ba03e15b30b").content.decode("utf-8")
24
- # return requests.get ("https://newsapi.org/v2/top-headlines?country=us&apiKey=3bca07c913ec4703a23f6ba03e15b30b").content.decode("utf-8")
25
 
26
  def getHeadlines():
27
  return requests.get ("https://newsapi.org/v2/top-headlines?country=us&apiKey=3bca07c913ec4703a23f6ba03e15b30b").content.decode("utf-8")
 
21
 
22
  def getNews(search_key):
23
  return requests.get ("https://newsapi.org/v2/everything?q=" +search_key+ "&apiKey=3bca07c913ec4703a23f6ba03e15b30b").content.decode("utf-8")
24
+ # return requests.get ("https://newsapi.org/v2/top-headlines?country=us&apiKey=3bca07c913ec4703a23f6ba03e15b30b").content.decode("utf-8" )
25
 
26
  def getHeadlines():
27
  return requests.get ("https://newsapi.org/v2/top-headlines?country=us&apiKey=3bca07c913ec4703a23f6ba03e15b30b").content.decode("utf-8")