Spaces:
Running
Running
| 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 | |