A Streamlit application that provides AI-powered news summaries in multiple languages using Sutra's advanced language capabilities and real-time web search.
- Multilingual Support: Get news summaries in any language you specify
- Real-time Information: Uses DuckDuckGo search to fetch the latest information
- User-friendly Interface: Clean, intuitive UI with sample queries
- Customizable: Toggle search functionality and tool call visibility
- Enter your Sutra API key
- Type a query specifying what news you want summarized and in which language
- The app searches for recent information using DuckDuckGo
- Sutra AI processes the information and generates a summary in your requested language
- "Summarize the latest global economic news in Hindi"
- "What are the recent tech industry developments? Respond in French."
- "Summarize today's top sports headlines in German"
# Clone the repository
git clone https://github.com/yourusername/multilingual-news-summarizer.git
cd multilingual-news-summarizer
# Install dependencies
pip install -r requirements.txt
# Run the app
streamlit run app.py- Python 3.7+
- Streamlit
- Requests
- python-dotenv
- Agno agent
- DuckDuckGo Search
Create a .env file in the root directory with your Sutra API key:
SUTRA_API_KEY=your_api_key_here
Alternatively, you can enter your API key directly in the app's sidebar.
MIT
