Update README.md (batch 1/1)

This commit is contained in:
systemd
2026-02-24 12:19:03 +00:00
parent 7895fab90c
commit 429fffab30

View File

@ -54,7 +54,7 @@ FLUX.2 [klein] 9B is also available in both [ComfyUI](https://github.com/comfyan
To use FLUX.2 [klein] 9B with the 🧨 Diffusers python library, first install or upgrade diffusers: To use FLUX.2 [klein] 9B with the 🧨 Diffusers python library, first install or upgrade diffusers:
```shell ```shell
pip install -U diffusers pip install git+https://github.com/huggingface/diffusers.git
``` ```
Then you can use Flux2KleinPipeline to run the model: Then you can use Flux2KleinPipeline to run the model:
```python ```python
@ -69,7 +69,7 @@ pipe.enable_model_cpu_offload() # save some VRAM by offloading the model to CPU
prompt = "A cat holding a sign that says hello world" prompt = "A cat holding a sign that says hello world"
image = pipe( image = pipe(
prompt, prompt=prompt,
height=1024, height=1024,
width=1024, width=1024,
guidance_scale=1.0, guidance_scale=1.0,