Skip to content

Commit 14ccbce

Browse files
committed
Fix README
1 parent 76405ec commit 14ccbce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ pipeline = DiffusionPipeline(
107107

108108
For FLUX:
109109
```python
110-
from diffusionkit.mlx import FLUXPipeline
111-
pipeline = DiffusionPipeline(
110+
from diffusionkit.mlx import FluxPipeline
111+
pipeline = FluxPipeline(
112112
model="argmaxinc/stable-diffusion",
113113
shift=1.0,
114114
model_version="FLUX.1-schnell",
@@ -122,8 +122,8 @@ Finally, to generate the image, use the `generate_image()` function:
122122
```python
123123
HEIGHT = 512
124124
WIDTH = 512
125-
NUM_STEPS = 50 # 4 for FLUX.1-schnell
126-
CFG_WEIGHT = 5.0 # 0. for FLUX.1-schnell
125+
NUM_STEPS = 4 # 4 for FLUX.1-schnell, 50 for SD3
126+
CFG_WEIGHT = 0. # for FLUX.1-schnell, 5. for SD3
127127

128128
image, _ = pipeline.generate_image(
129129
"a photo of a cat",

0 commit comments

Comments
 (0)