Update README.md

#2
by linoyts HF staff - opened
Files changed (1) hide show
  1. README.md +42 -1
README.md CHANGED
@@ -2,4 +2,45 @@
2
  license: other
3
  license_name: flux-1-dev-non-commercial-license
4
  license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
5
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: other
3
  license_name: flux-1-dev-non-commercial-license
4
  license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
5
+ library_name: diffusers
6
+ pipeline_tag: text-to-image
7
+ tags:
8
+ - diffusers
9
+ - lora
10
+ - flux
11
+ - flux-diffusers
12
+ - template:sd-lora
13
+ base_model: black-forest-labs/FLUX.1-dev
14
+ ---
15
+
16
+ <Gallery />
17
+
18
+ ## Model description
19
+
20
+ These are davisbro/half_illustration LoRA weights for black-forest-labs/FLUX.1-dev.
21
+
22
+ The weights were trained with the replicate Flux trainer.
23
+
24
+ ## Trigger words
25
+
26
+ the style is triggered automatically with any choice of prompt.
27
+
28
+ ## Download model
29
+
30
+ [Download the *.safetensors LoRA](https://huggingface.co/davisbro/half_illustration/tree/main) in the Files & versions tab.
31
+
32
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
33
+
34
+ ```py
35
+ from diffusers import AutoPipelineForText2Image
36
+ import torch
37
+ pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
38
+ pipeline.load_lora_weights('davisbro/half_illustration', weight_name='flux_train_replicate.safetensors')
39
+ 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]
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
+
44
+ ## License
45
+
46
+ Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).