DEV Community

Kiran J
Kiran J

Posted on

OpenUI - One prompt UI Generation

I am trying to use OpenUI to generate a UI by using Ollama based Models.
I have already installed Ollama and different models.
Also, here I am going to install OpenUI in a virtual Environment called Conda instead of docker.

git clone https://github.com/wandb/openui
cd openui/backend
conda create -n openui python=3.10 anaconda
conda activate openui
pip install .
#this is not optional to give OPENAI API KEY, so just give xxx
export OPENAI_API_KEY=xxx
python -m openui
Enter fullscreen mode Exit fullscreen mode

Image description

Go to browser and type the given URL to start OpenUI.
Now, you can go to settings and see the Ollama models are loaded automatically.

Image description

Image description

find more about conda here

Refer this Youtube link

All credits goes to Matthew Berman

Top comments (0)