Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,7 +99,7 @@ def page_article_to_social_post():
|
|
| 99 |
|
| 100 |
if niche:
|
| 101 |
# Fetch news articles
|
| 102 |
-
google_news = GNews(language='
|
| 103 |
news_list = google_news.get_news(niche)
|
| 104 |
|
| 105 |
if not news_list:
|
|
|
|
| 99 |
|
| 100 |
if niche:
|
| 101 |
# Fetch news articles
|
| 102 |
+
google_news = GNews(language='german', country='Germany') # You can customize this
|
| 103 |
news_list = google_news.get_news(niche)
|
| 104 |
|
| 105 |
if not news_list:
|