Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
atiorh committed Aug 14, 2024
1 parent 76405ec commit 14ccbce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ pipeline = DiffusionPipeline(

For FLUX:
```python
from diffusionkit.mlx import FLUXPipeline
pipeline = DiffusionPipeline(
from diffusionkit.mlx import FluxPipeline
pipeline = FluxPipeline(
model="argmaxinc/stable-diffusion",
shift=1.0,
model_version="FLUX.1-schnell",
Expand All @@ -122,8 +122,8 @@ Finally, to generate the image, use the `generate_image()` function:
```python
HEIGHT = 512
WIDTH = 512
NUM_STEPS = 50 # 4 for FLUX.1-schnell
CFG_WEIGHT = 5.0 # 0. for FLUX.1-schnell
NUM_STEPS = 4 # 4 for FLUX.1-schnell, 50 for SD3
CFG_WEIGHT = 0. # for FLUX.1-schnell, 5. for SD3

image, _ = pipeline.generate_image(
"a photo of a cat",
Expand Down

0 comments on commit 14ccbce

Please sign in to comment.