Text-to-Image
flux
lora
ai-toolkit
Wiro-Support commited on
Commit
c224f12
·
verified ·
1 Parent(s): 821a7f1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -71,7 +71,7 @@ from diffusers import FluxPipeline
71
  import torch
72
 
73
  pipe = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
74
- pipe.load_lora_weights('WiroAI/elsa-flux-lora', weight_name='elsa.safetensors')
75
  image = pipe('[trigger], Elsa gazes out a frost-kissed window, her expression calm and thoughtful. The soft glow of lantern light casts a warm contrast to the cold night outside. Her cheeks have a gentle rosy hue, and her long braid drapes over her shoulder. Tiny snowflakes cling to the windowpane, adding a touch of winter magic.').images[0]
76
  image.save("elsa_image.png")
77
  ```
 
71
  import torch
72
 
73
  pipe = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
74
+ pipe.load_lora_weights('WiroAI/elsa-flux-lora', weight_name='elsa_flux_lora.safetensors')
75
  image = pipe('[trigger], Elsa gazes out a frost-kissed window, her expression calm and thoughtful. The soft glow of lantern light casts a warm contrast to the cold night outside. Her cheeks have a gentle rosy hue, and her long braid drapes over her shoulder. Tiny snowflakes cling to the windowpane, adding a touch of winter magic.').images[0]
76
  image.save("elsa_image.png")
77
  ```