pinokiofactory / flux-webui

143 stars 19 forks source link

Flux WebUI

Minimal Flux Web UI powered by Gradio & Diffusers. Automatically downloads checkpoints from Huggingface so everything "just works".

Supports:

ui.png

Install

1. One click install

The easiest way is to use https://pinokio.computer

2. Install manually

First install torch:

# Windows/Linux CUDA
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 xformers --index-url https://download.pytorch.org/whl/cu121

# Mac MPS
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1

Next, install the app dependencies:

pip install -r requirements.txt

Run

Run the command to start the gradio UI:

python app.py

When you first run it, it will need to download the checkpoint files from Huggingface, so the first run will be slow. Keep an eye on the terminal to check the progress.

But from the second run it will be faster.