DeepChat is an AI-powered chatbot leveraging DeepSeek-R1
(1.5B) parameters, built with Streamlit
and Ollama
for seamless and interactive conversations.
deepchat/
├── app/
│ ├── __init__.py
│ ├── main.py # Streamlit application
│ └── utils.py # Helper functions
├── assets
├── requirements.txt # Python dependencies
├── .gitignore
├── README.md
-
Python 3.9+
-
Ollama installed and running
-
DeepSeek-R1 model:
ollama pull deepseek-r1:1.5b
-
Clone repository:
git clone https://github.com/mohd-faizy/DeepChat.git
-
Create virtual environment:
python -m venv venv
-
Activate environment:
# Linux/macOS source venv/bin/activate # Windows .\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Start Ollama service:
ollama serve
-
In a separate terminal, launch the chat interface:
streamlit run app/main.py
Port Conflict (11434):
# Windows
netstat -ano | findstr :11434
taskkill /PID <PID> /F
# Linux/macOS
lsof -i :11434
kill -9 <PID>
Common Issues:
- Ensure Ollama is running before launching the Streamlit app
- Verify model installation:
ollama list
- Check firewall settings if experiencing connection issues
Contributions are welcome!
This project is licensed under the MIT License. See LICENSE for details.
If you find this repository helpful, show your support by starring it! For questions or feedback, reach out on Twitter(X
).
➤ If you have questions or feedback, feel free to reach out!!!