Skip to content

Commit a07bb9a

Browse files
sayakpaula-r-r-o-w
andauthored
Update examples/dreambooth/train_dreambooth_lora_flux_kontext.py
Co-authored-by: Aryan <aryan@huggingface.co>
1 parent 696efd7 commit a07bb9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/dreambooth/train_dreambooth_lora_flux_kontext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def save_model_card(
127127
```py
128128
from diffusers import FluxKontextPipeline
129129
import torch
130-
pipeline = FluxKontextPipeline.from_pretrained("black-forest-labs/KONTEXT.1-dev", torch_dtype=torch.bfloat16).to('cuda')
130+
pipeline = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", torch_dtype=torch.bfloat16).to('cuda')
131131
pipeline.load_lora_weights('{repo_id}', weight_name='pytorch_lora_weights.safetensors')
132132
image = pipeline('{validation_prompt if validation_prompt else instance_prompt}').images[0]
133133
```

0 commit comments

Comments
 (0)