Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.25.0
metadata
title: AQI Intelligence Engine
emoji: π¬οΈ
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
short_description: Smart City AQI Forecast & Satellite Vision AI Engine
π¬οΈ AQI Intelligence Engine (Hugging Face ZeroGPU & CPU Dual Mode)
An AI-powered Urban Air Quality Intelligence Platform built for Smart City Intervention, AQI forecasting (Google TimesFM 2.5 & Tuned XGBoost), satellite vision analysis (Florence-2 + Grounding DINO), and source attribution.
π Key Features
- Dual Hardware Compatibility (CPU + ZeroGPU):
- Runs seamlessly on ZeroGPU Space (A100 dynamic allocation) when deployed to Hugging Face with GPU hardware.
- Automatically falls back to CPU execution on standard local machines or free CPU spaces without crashing or RAM OOM.
- Interactive Gradio Control Center:
- Web GUI for instant time-series AQI forecasting and satellite image pollution source analysis.
- Full REST API Support:
- Includes FastAPI swagger endpoints at
/docs. - Direct JSON endpoints
/forecast,/analyze-image,/health.
- Includes FastAPI swagger endpoints at
π¦ Deploying to Hugging Face Spaces
- Create a new Space on Hugging Face:
- Space SDK: Gradio
- Hardware: ZeroGPU (or CPU basic)
- Push the contents of
backend-ai/to your Hugging Face Space repository:git remote add hf https://huggingface.co/spaces/YOUR_USERNAME/YOUR_SPACE_NAME git push hf main - Your Space will build automatically and serve both the Gradio Web App and REST APIs on port 7860.