Local ChatGPT with thinking UI
This project leverages DeepSeek-R1 and Streamlit to create a 100% locally running mini-ChatGPT app.
Installation and setup
Setup Ollama:
bash
# setup ollama on linux
curl -fsSL https://ollama.com/install.sh | sh
# pull the DeepSeek-R1 model
ollama pull deepseek-r1Install Dependencies: Ensure you have Python 3.11 or later installed.
bash
pip install streamlit ollamaRun the app:
Run the streamlit app as follows:
bash
streamlit run app.py -w📬 Stay Updated with Our Newsletter!
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!
