It is very easy to run DeepSeek locally using Ollama. It's also very easy to build a custom UI in Python using Solara.

This example shows how you can show the "Chain of Thought" in the UI while still using the Chat components that come with Solara out of the box.