DEV Community

KIranuknow
KIranuknow

Posted on

16

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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay