galeriarodrigo commited on
Commit
d9e86cc
1 Parent(s): c8ab48f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -1
README.md CHANGED
@@ -16,4 +16,28 @@ widget:
16
  text: soulday style, woman with red hair, playing chess at the park, parade in the background
17
  trigger: soulday style
18
  instance_prompt: soulday style
19
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  text: soulday style, woman with red hair, playing chess at the park, parade in the background
17
  trigger: soulday style
18
  instance_prompt: soulday style
19
+ ---
20
+ ## Trigger words
21
+
22
+ You should use `soulday style` to trigger the image generation.
23
+
24
+ ## Download model
25
+
26
+ Weights for this model are available in Safetensors format.
27
+
28
+ [Download](/galeriarodrigo/FLUX.1-dev-lora-soulday/tree/main) them in the Files & versions tab.
29
+
30
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
31
+
32
+ ```py
33
+ from diffusers import AutoPipelineForText2Image
34
+ import torch
35
+
36
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
37
+ pipeline.load_lora_weights('galeriarodrigo/FLUX.1-dev-lora-soulday', weight_name='souldaystyle.safetensors')
38
+ image = pipeline('soulday style, woman with red hair, playing chess at the park, parade in the background').images[0]
39
+ image.save("my_image.png")
40
+ ```
41
+
42
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
43
+