本地运行的AI自动生成UI程序,有手就行,人人都是前端

OpenUI let’s you describe UI using your imagination, then see it rendered live.

Building UI components can be a slog. OpenUI aims to make the process fun, fast, and flexible. It’s also a tool we’re using at W&B to test and prototype our next generation tooling for building powerful applications on top of LLM’s.

环境准备:

在你的系统中安装好Python 及 Git 、Ollama

ollama安装很简单,上ollama.ai下载,再用ollama下载相应的LLM就可以了。

安装运行步骤:

git clone https://github.com/wandb/openui
cd openui/backend
pip install .
$env:OPENAI_API_KEY=”随意填写”
#这里我们使用本地ollama,不需要真的openai api key,随意填写就行了
python -m openui

超级简单的,OpenUI还有docker方式部署,这里不展示。
视频教程

开源项目地址

Comments

No comments yet. Why don’t you start the discussion?

    发表回复

    您的邮箱地址不会被公开。 必填项已用 * 标注