Spaces:
Sleeping
Sleeping
File size: 1,066 Bytes
1920f0a fa08517 1920f0a fa08517 1920f0a fa08517 1920f0a fa08517 1920f0a fa08517 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ---
title: ClimaIQ Kisan
emoji: 🌾
colorFrom: green
colorTo: gray
sdk: streamlit
app_file: app.py
pinned: false
license: apache-2.0
---
# ClimaIQ Kisan
Climate-adjusted credit scoring for Indian agricultural lending: **Kisan view**, **loan officer** scorecard and PDF-ready report, and **portfolio stress** scenarios. Bilingual (English / Hindi) narratives via **Google Gemma (cloud)** or **local Ollama**.
## Dataset (in this Space)
`data/climaiq_india_agricultural_credit_1000.csv` — 1,000 synthetic loans (Maharashtra / Punjab, crops, SPI, rainfall deficit, engineered features, default label, ClimaIQ score and risk band), aligned with the same generator and model as the app.
## Optional secret
Add **`GEMMA_API_KEY`** (Google AI Studio) under Space **Settings → Secrets** for cloud Gemma. Without it, open the app and use **Local (Ollama)** only when you run Streamlit on your own machine; the hosted Space still runs the **ClimaIQ model** and charts without the key.
## Local run
```bash
pip install -r requirements.txt
streamlit run app.py
```
|