Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ summarizer = pipeline("summarization")
|
|
| 16 |
nltk.download('punkt')
|
| 17 |
|
| 18 |
# Initialize the News API client with your API key
|
| 19 |
-
newsapi = NewsApiClient(api_key='
|
| 20 |
|
| 21 |
# Function to fetch content from a given URL
|
| 22 |
def fetch_article_content(url):
|
|
|
|
| 16 |
nltk.download('punkt')
|
| 17 |
|
| 18 |
# Initialize the News API client with your API key
|
| 19 |
+
newsapi = NewsApiClient(api_key='5ab7bb1aaceb41b8993db03477098aad')
|
| 20 |
|
| 21 |
# Function to fetch content from a given URL
|
| 22 |
def fetch_article_content(url):
|