mirror of
https://github.com/pinokiofactory/flux-webui.git
synced 2024-10-05 23:57:57 +03:00
1bf6769c90e0a0c7e2976f42dab2b3da8ca4d278
Flux WebUI
Minimal Flux Web UI powered by Gradio & Diffusers. Automatically downloads checkpoints from Huggingface so everything "just works".
Supports:
- FLUX.1-schnell: A fast model with 4 step inference.
- FLUX.1-merged: Flux.1-dev with just 8 steps!
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.
Description
Languages
JavaScript
54.2%
Python
45.8%
