...
Download and install ollama-webui:
Code Block cd /home/vss-admin git clone https://github.com/ollama-webui/ollama-webui.git && cd ollama-webui/
Create ollama-webui environment file:
.env
Code Block cp -RPp .env.example .env
Install libraries and build the ollama-webui project
Code Block npm i npm run build
Install
python3-pip
andpython3-venv
:Code Block apt install python3-pip python3-venv
Create virtual environment to isolate dependencies:
Code Block cd ./backend python3 -m venv venv && . venv/bin/activate
Install libraries and run the ollama backend
Code Block cd ./backend pip install -r requirements.txt -U sh start.sh
Test the UI application by opening a browser with the your servers ip address and port 8080:
http://XXX.XXX.XXX.XXX:8080
Select a model: llama2 and ask a message:
...