Update README.md
Browse files
README.md
CHANGED
@@ -56,8 +56,8 @@ from diffusers import AutoPipelineForText2Image
|
|
56 |
import torch
|
57 |
|
58 |
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
59 |
-
pipeline.load_lora_weights('rootonchair/
|
60 |
-
pipeline.set_adapters(['
|
61 |
|
62 |
image = pipeline('This set of four image depicts a cartoon black cat wearing a pirate hat; [IMAGE1] The cat is happy, holding a bouquet; [IMAGE2] The cat is happy, surrounded with music notes; [IMAGE3] The cat is riding a bicycle; [IMAGE4] The cat is eating an ice cream', width=512, height=512, num_inference_steps=28, guidance_scale=3.5).images[0]
|
63 |
```
|
|
|
56 |
import torch
|
57 |
|
58 |
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
59 |
+
pipeline.load_lora_weights('rootonchair/2x2_sticker_sheet', weight_name='pytorch_lora_weights.safetensors', adapter_name='2x2_sticker_sheet')
|
60 |
+
pipeline.set_adapters(['2x2_sticker_sheet'], adapter_weights=[0.8])
|
61 |
|
62 |
image = pipeline('This set of four image depicts a cartoon black cat wearing a pirate hat; [IMAGE1] The cat is happy, holding a bouquet; [IMAGE2] The cat is happy, surrounded with music notes; [IMAGE3] The cat is riding a bicycle; [IMAGE4] The cat is eating an ice cream', width=512, height=512, num_inference_steps=28, guidance_scale=3.5).images[0]
|
63 |
```
|