Spaces:
Sleeping
Sleeping
talexm
commited on
Commit
•
6a0b80f
1
Parent(s):
521c02b
update
Browse files
app.py
CHANGED
@@ -93,7 +93,6 @@ if st.button("Search News About Me"):
|
|
93 |
st.warning("Please enter your name or handle to search.")
|
94 |
|
95 |
# Google Search: Global News Categories
|
96 |
-
# Categories for News
|
97 |
categories = ["Technology", "Sports", "Politics", "Entertainment", "Science"]
|
98 |
|
99 |
st.title("Global News Insights")
|
@@ -121,8 +120,8 @@ try:
|
|
121 |
f"""
|
122 |
<div style="padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin: 10px; text-align: center;">
|
123 |
<a href="{article}" target="_blank" style="text-decoration: none;">
|
124 |
-
<button style="background-color: #
|
125 |
-
{category}
|
126 |
</button>
|
127 |
</a>
|
128 |
</div>
|
|
|
93 |
st.warning("Please enter your name or handle to search.")
|
94 |
|
95 |
# Google Search: Global News Categories
|
|
|
96 |
categories = ["Technology", "Sports", "Politics", "Entertainment", "Science"]
|
97 |
|
98 |
st.title("Global News Insights")
|
|
|
120 |
f"""
|
121 |
<div style="padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin: 10px; text-align: center;">
|
122 |
<a href="{article}" target="_blank" style="text-decoration: none;">
|
123 |
+
<button style="background-color: #c4ccc8; color: white; border: none; padding: 10px 20px; text-align: center; display: inline-block; font-size: 16px; border-radius: 5px;">
|
124 |
+
{category}-{idx + 1}
|
125 |
</button>
|
126 |
</a>
|
127 |
</div>
|