davisbro commited on
Commit
51ca4ca
1 Parent(s): 259ee83

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -1
README.md CHANGED
@@ -38,4 +38,24 @@ https://replicate.com/lucataco/flux-dev-lora
38
 
39
  ## Trigger words
40
 
41
- It would help if you used `in the style of TOK` for better style preservation. It is best to place the trigger words first and describe illustrative elements in your scene like clothing or expressive elements.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  ## Trigger words
40
 
41
+ It would help if you used `in the style of TOK` for better style preservation. It is best to place the trigger words first and describe illustrative elements in your scene like clothing or expressive elements.
42
+
43
+ ## Download model
44
+
45
+ [Download the *.safetensors LoRA](https://huggingface.co/davisbro/half_illustration/tree/main) in the Files & versions tab.
46
+
47
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
48
+
49
+ ```py
50
+ from diffusers import AutoPipelineForText2Image
51
+ import torch
52
+ pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
53
+ pipeline.load_lora_weights('davisbro/half_illustration', weight_name='flux_train_replicate.safetensors')
54
+ image = pipeline('A 50mm bokeh photo of a fashion show in paris, midday sun, surrounded by the colorful friendly rock and roll text "Paris" and other french themed doodles').images[0]
55
+ ```
56
+
57
+ 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)
58
+
59
+ ## License
60
+
61
+ Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).