Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,9 +36,10 @@ def render_news(news_items, start, count=20):
|
|
| 36 |
return "✅ आपने सभी समाचार देख लिए हैं।"
|
| 37 |
result = ""
|
| 38 |
for i, item in enumerate(sliced, start + 1):
|
| 39 |
-
result += f"**{i}. {item['title']}**\n
|
| 40 |
-
result += f"[🔗 समाचार लिंक]({item['link']})\n
|
| 41 |
-
result += f"🗓️ प्रकाशित: {item['published']}\n
|
|
|
|
| 42 |
return result
|
| 43 |
|
| 44 |
# Load initial news
|
|
|
|
| 36 |
return "✅ आपने सभी समाचार देख लिए हैं।"
|
| 37 |
result = ""
|
| 38 |
for i, item in enumerate(sliced, start + 1):
|
| 39 |
+
result += f"**{i}. {item['title']}**<br>\n"
|
| 40 |
+
result += f"[🔗 समाचार लिंक]({item['link']})<br>\n"
|
| 41 |
+
result += f"🗓️ प्रकाशित: {item['published']}<br>\n"
|
| 42 |
+
result += f"<hr style='margin: 4px 0;' />\n"
|
| 43 |
return result
|
| 44 |
|
| 45 |
# Load initial news
|