lichorosario commited on
Commit
b54dbdb
1 Parent(s): 63476ee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -3
README.md CHANGED
@@ -1,7 +1,16 @@
1
  ---
2
- base_model:
3
- - black-forest-labs/FLUX.1-schnell
 
 
 
 
 
 
 
 
4
  pipeline_tag: text-to-image
 
5
  library_name: diffusers
6
  inference:
7
  parameters:
@@ -33,4 +42,31 @@ widget:
33
  output:
34
  url: samples/sample_1.png
35
 
36
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ base_model: black-forest-labs/FLUX.1-schnell
12
  pipeline_tag: text-to-image
13
+ instance_prompt: LBRTR
14
  library_name: diffusers
15
  inference:
16
  parameters:
 
42
  output:
43
  url: samples/sample_1.png
44
 
45
+ ---
46
+
47
+ # Flux Samhtr Remastered
48
+
49
+ Trained on Replicate using:
50
+
51
+ https://replicate.com/ostris/flux-dev-lora-trainer/train
52
+
53
+
54
+ ## Trigger words
55
+ You should use `LBRTR` to trigger the image generation.
56
+
57
+
58
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
59
+
60
+ ```py
61
+ from diffusers import AutoPipelineForText2Image
62
+ import torch
63
+
64
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
65
+ pipeline.load_lora_weights('lichorosario/flux-samhtr-remastered', weight_name='lora.safetensors')
66
+ image = pipeline('your prompt').images[0]
67
+ ```
68
+
69
+
70
+ <Gallery />
71
+
72
+ 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)