Spaces:
Sleeping
Sleeping
SHAMIL SHAHBAZ AWAN commited on
Update app.py
Browse files49 unmodified lines5051525354555649 unmodified lines# Format the top 3 space news articlesformatted_news = "\n\n".join([f"π° **{article.get('title', 'Untitled')}**\nπ [Read More]({article.get('url', '#'}) )" for article in news_results[:3]])return {"output": f"π **Latest Space News:**\n\n{formatted_news}"}49 unmodified lines5051525354555649 unmodified lines# Format the top 3 space news articlesformatted_news = "\n\n".join([f"π° **{article.get('title', 'Untitled')}**\nπ [Read More]({article.get('url', '#')})" for article in news_results[:3]])return {"output": f"π **Latest Space News:**\n\n{formatted_news}"}
app.py+1-1