rootonchair commited on
Commit
43e962b
·
verified ·
1 Parent(s): e1d5d90

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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/4x4_sticker_sheet', weight_name='pytorch_lora_weights.safetensors', adapter_name='4x4_sticker_sheet')
60
- pipeline.set_adapters(['4x4_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
  ```
 
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
  ```