nick5363 commited on
Commit
950fe9c
·
verified ·
1 Parent(s): 4310e4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -40,6 +40,19 @@ gr.Interface(
40
  inputs=None,
41
  outputs="markdown",
42
  live=True, # <<< tự động chạy khi load
43
-
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  ).launch()
 
40
  inputs=None,
41
  outputs="markdown",
42
  live=True, # <<< tự động chạy khi load
43
+
44
+ theme = gr.themes.Base().set(
45
+ body_background_fill="#000000", # nền đen
46
+ body_text_color="#ffffff", # chữ trắng
47
+ )
48
+
49
+ gr.Interface(
50
+ fn=get_combined_news,
51
+ inputs=None,
52
+ outputs="markdown",
53
+ title="Tin tức Tài chính Mới nhất (10 bài liên tục)",
54
+ description="Hiển thị 3 tin từ Marketaux và 7 tin từ Yahoo RSS — không ảnh, số liên tục từ 1 đến 10.",
55
+ theme=theme
56
+
57
 
58
  ).launch()