上周,通过ollama在本机电脑安装了DeepSeek-R1,并部署了入门级r1:1.5b模型。今天就来弄个友好的交互界面。
我使用的开源webUI ollama-webui-lite 可以从github下载源码:
https://github.com/ollama-webui/ollama-webui-lite,如果无法下载的话,可以使用
https://gitcode.com/gh_mirrors/ol/ollama-webui-lite
一、下载源码到本地
git clone https://github.com/ollama-webui/ollama-webui-lite.git
cd ollama-webui-lite
二、安装依赖
npm install
三、运行
npm run dev
出现上面界面,表示运行成功了,在浏览器里打开http://localhost:3000 网页
首次,点击设置按钮,设置ollama服务地址:
http://localhost:11434/api
然后,设置默认的模型,选择前面已经安装好的deepseek-r1:1.5b
大功告成,接下来,就可以对话了,赶快来试试吧!