Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def summarize_file(file):
|
|
101 |
def fetch_news():
|
102 |
url = 'https://newsapi.org/v2/top-headlines'
|
103 |
params = {
|
104 |
-
'apiKey':
|
105 |
'language': 'en',
|
106 |
'sources': 'associated-press',
|
107 |
'pageSize': 10
|
|
|
101 |
def fetch_news():
|
102 |
url = 'https://newsapi.org/v2/top-headlines'
|
103 |
params = {
|
104 |
+
'apiKey': api_key,
|
105 |
'language': 'en',
|
106 |
'sources': 'associated-press',
|
107 |
'pageSize': 10
|