nick5363 commited on
Commit
71aaf79
·
verified ·
1 Parent(s): a62cfa9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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[:5]):
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ị 5 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()
 
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()