This is a ChatGPT-style AI chatbot built using Flask + Ollama, running completely offline on your local system.
- 💬 ChatGPT-like UI (glass / modern design)
- ⚡ Real-time responses from local AI
- 🧠 Maintains conversation memory
- ⌨️ Enter key support
- ⏳ Loading indicator (Typing…)
- 🔒 Works fully offline (after model download)
- Python (Flask)
- Ollama (Local LLM)
- HTML, CSS, JavaScript
- Python 3.x
- Ollama installed
Download Ollama: https://ollama.com
pip install flask requestsollama run llama3
⚠️ First time requires internet to download the model ✅ After that, it works completely offline
python app.pyhttp://127.0.0.1:5000
- Frontend sends user message → Flask backend
- Flask sends request → Ollama (local AI)
- Ollama generates response → returned to UI
👉 No external APIs 👉 No internet required after setup
This chatbot runs on a local AI model and may produce incorrect answers. Always verify important information.
- This project works only locally
- Not deployed online (Ollama runs on local machine)
Built by Sathish Reddy 🚀