Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.24 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.24 KB

OpenUI

PyPI Changelog License

A backend service for generating HTML components with AI

Installation

Clone this repo, then install using pip. You'll probably want to create a virtual env.

git clone https://github.com/wandb/openui
cd openui/backend
pip install .

Usage

python -m openui

Development

First be sure to install the package as editable, then passing --dev as an argument will live reload any local changes.

pip install -e .
python -m openui --dev

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Evaluation

The eval folder contains scripts for evaluating the performance of a model. It automates generating UI, taking screenshots of the UI, then asking gpt-4-vision-preview to rate the elements. More details about the eval pipeline coming soon...