Roelf Renkema
commited on
Commit
•
4120b2e
1
Parent(s):
2651ab8
Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,30 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- straico
|
12 |
+
base_model: "black-forest-labs/FLUX.1-dev"
|
13 |
+
pipeline_tag: text-to-image
|
14 |
+
instance_prompt: betty
|
15 |
---
|
16 |
+
# Flux1.Lora.Betty
|
17 |
+
|
18 |
+
![](sample.png)
|
19 |
+
|
20 |
+
## Trigger words
|
21 |
+
You should use `betty` to trigger the image generation.
|
22 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
23 |
+
```py
|
24 |
+
from diffusers import AutoPipelineForText2Image
|
25 |
+
import torch
|
26 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
27 |
+
pipeline.load_lora_weights('Roelf/flux1.lora.betty', weight_name='lora.safetensors')
|
28 |
+
image = pipeline('your prompt').images[0]
|
29 |
+
```
|
30 |
+
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)
|