File size: 677 Bytes
36b4088 9c0acde 36b4088 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# ClimaMind — K2-Think + Live Climate Data (Gradio on Hugging Face Spaces)
## Setup
1) Create a new Space → SDK = **Gradio**.
2) Upload `app.py` and `requirements.txt` (this README is optional).
3) In **Settings → Variables / secrets**, set:
- `PROVIDER` = `hf_model` (recommended) or `local` or `stub`
- `MODEL_ID` = `MBZUAI-IFM/K2-Think-SFT` (default) or `LLM360/K2-Think`
- `HF_TOKEN` = your HF token (Read + Inference)
4) If choosing `local`, switch the Space hardware to **GPU**.
## Notes
- Uses Open-Meteo + OpenAQ (keyless).
- If model returns non-JSON, you’ll see a friendly fallback.
- If rate-limited, temporarily set `PROVIDER=stub` for the demo.
|