This project leverages Google DeepMind's latest Gemma 3 and Chainlit to create a 100% locally running mini-ChatGPT.
Setup Ollama:
# setup ollama on linux
curl -fsSL https://ollama.com/install.sh | sh
# pull the DeepSeek-R1 model
ollama pull gemma3:4bInstall Dependencies: Ensure you have Python 3.11 or later installed.
pip install pydantic==2.10.1 chainlit ollamaRun the app:
Run the chainlit app as follows:
chainlit run app.py -wClick below to watch the demo video of the AI Assistant in action:
Get a FREE Data Science eBook 📖 with 150+ essential lessons in Data Science when you subscribe to our newsletter! Stay in the loop with the latest tutorials, insights, and exclusive resources. Subscribe now!
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
