BankBot-AI / README.md
mohsin-devs's picture
update
1652384
---
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