Spaces:
Running
Running
File size: 1,168 Bytes
1760861 bc939ab 1652384 bc939ab 1760861 4172042 1760861 bc939ab 1760861 bc939ab 1760861 bc939ab e3ba148 bc939ab e3ba148 bc939ab e3ba148 bc939ab 1652384 bc939ab e3ba148 bc939ab | 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 31 32 33 34 35 36 37 38 39 40 41 42 | ---
title: Central Bank AI
emoji: π¦
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: 1.41.1
app_file: app.py
pinned: false
license: mit
---
# π¦ Central Bank AI β BankBot
A professional AI-powered banking assistant built with Streamlit.
## Features
- π¬ Banking chatbot powered by **Groq AI** (cloud) or **Ollama** (local)
- π Financial dashboard with transaction history and analytics
- π User authentication with session management
- π FAQ-based instant responses from a structured intents database
## AI Backend
- **Cloud (HF Spaces):** Uses [Groq AI](https://console.groq.com) β set `GROQ_API_KEY` as a Space Secret
- **Local:** Falls back to [Ollama](https://ollama.com) (llama3) automatically
## Setup (Local)
```bash
pip install -r requirements.txt
ollama pull llama3
streamlit run app.py
```
If the UI ever shows `Failed to fetch dynamically imported module`, restart the Streamlit server after reinstalling dependencies and do a hard refresh in the browser so stale JS chunks are cleared.
## Setup (Hugging Face Spaces)
1. Add `GROQ_API_KEY` as a **Secret** in Space Settings
2. The app will automatically use Groq AI
|