Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.54.0
metadata
title: DisasterTracker AI π
emoji: πͺοΈ
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: 1.44.1
app_file: app.py
pinned: false
π DisasterTracker AI
DisasterTracker AI is a fullstack open-source RAG app that helps you stay updated on recent natural disasters around the world. It combines the power of local embeddings, open-source language models, real-time news, and live weather data.
π Features
- β
Retrieval-Augmented Generation (RAG) with
flan-t5-base - β Local vector store using ChromaDB and SentenceTransformers
- β Live RSS feeds for global natural disaster news
- β Real-time weather forecasts from Open-Meteo API
- β Streamlit UI optimized for Hugging Face Spaces (no API keys required)
- β Runs entirely on CPU β 100% open source and deployable for free
π How It Works
- News is scraped from RSS feeds (NYT, Reuters, Al Jazeera).
- Articles are embedded using
all-MiniLM-L6-v2and stored in ChromaDB. - When you ask a question, the system:
- Finds relevant articles (RAG)
- Generates an answer using
flan-t5-base - Fetches live weather for mentioned locations
π οΈ Setup Instructions
1. Install Dependencies
pip install -r requirements.txt