AntDish commited on
Commit
b6d339b
·
verified ·
1 Parent(s): 4abe818

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -0
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
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
+ language:
6
+ - en
7
+ tags:
8
+ - flux
9
+ - diffusers
10
+ - lora
11
+ - replicate
12
+ base_model: "black-forest-labs/FLUX.1-dev"
13
+ pipeline_tag: text-to-image
14
+ instance_prompt: LONG
15
+ ---
16
+
17
+ # Long
18
+
19
+ Trained on Replicate using:
20
+
21
+ https://replicate.com/ostris/flux-dev-lora-trainer/train
22
+
23
+
24
+ ## Trigger words
25
+ You should use `LONG` to trigger the image generation.
26
+
27
+
28
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
29
+
30
+ ```py
31
+ from diffusers import AutoPipelineForText2Image
32
+ import torch
33
+
34
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
35
+ pipeline.load_lora_weights('AntDish/LONG', weight_name='lora.safetensors')
36
+ image = pipeline('your prompt').images[0]
37
+ ```
38
+
39
+ 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)
40
+
41
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/63cbd8a16d080f9b7cf11cc5/oYYiYEgDWQvLDrQwU7YNu.png)
42
+
43
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/63cbd8a16d080f9b7cf11cc5/RtkSxswZZkNiUIVYjV7Bm.png)