Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def get_yahoo_news_from_google():
|
|
| 9 |
return "Không tìm thấy tin tức nào từ Google News RSS."
|
| 10 |
|
| 11 |
result = "# Tin tức Yahoo Finance mới nhất (qua Google News)\n\n"
|
| 12 |
-
for i, entry in enumerate(feed.entries[:
|
| 13 |
title = entry.title
|
| 14 |
link = entry.link
|
| 15 |
published = entry.published
|
|
@@ -22,5 +22,5 @@ gr.Interface(
|
|
| 22 |
inputs=None,
|
| 23 |
outputs="markdown",
|
| 24 |
title="Tin tức Yahoo Finance (Realtime qua Google News)",
|
| 25 |
-
description="Hiển thị
|
| 26 |
).launch()
|
|
|
|
| 9 |
return "Không tìm thấy tin tức nào từ Google News RSS."
|
| 10 |
|
| 11 |
result = "# Tin tức Yahoo Finance mới nhất (qua Google News)\n\n"
|
| 12 |
+
for i, entry in enumerate(feed.entries[:25]):
|
| 13 |
title = entry.title
|
| 14 |
link = entry.link
|
| 15 |
published = entry.published
|
|
|
|
| 22 |
inputs=None,
|
| 23 |
outputs="markdown",
|
| 24 |
title="Tin tức Yahoo Finance (Realtime qua Google News)",
|
| 25 |
+
description="Hiển thị 25 tin mới nhất từ Yahoo Finance thông qua Google News RSS — cập nhật cực nhanh, không cần nhập gì."
|
| 26 |
).launch()
|