Deepseek Streamlit chatbot

Kaarel Kõrvemaa | Jan 26, 2025 min read

Get started

Get an api key by registering and buying tokens. The cheapest you can get is around €2.10

Registration and getting the api key

If you just want to see how the chat works and want to chat with:

If the app is not live, it will become available in few minutes

Link to the app

The chat doesn’t collect your api key, it will just be in your session!

About privacy you can read from here

Don’t add your personal information to the chat!

Technical setup locally (optional)

If you want to run the app locally then, open up terminal and run the following

git clone https://github.com/kkaarel/deepseek-streamlit-chatbot.git

go to the directory

cd deepseek-streamlit-chatbot

Install the dependencies (hopefully you are using a virtual environment)

pip install -r requirements.txt

Run the Streamlit app

streamlit run app.py

Now you should have the app running!

Streamlit Deepseek chat

About the api

In case you have developed chats or prompts with OpenAi api then you just need to change the key and model name.

Deepseek uses OpenAI python package, it can be found from here

Deepseek provide two models deepseek-chat and deepseek-reasoner,(I couldn’t get the deepseek-reasoner working)

More information about models