Update README.md
Browse files
README.md
CHANGED
@@ -6,4 +6,22 @@ tags:
|
|
6 |
- flux
|
7 |
- diffusers
|
8 |
- lora
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
- flux
|
7 |
- diffusers
|
8 |
- lora
|
9 |
+
base_model: "black-forest-labs/FLUX.1-dev"
|
10 |
+
pipeline_tag: text-to-image
|
11 |
+
instance_prompt: portrait of hyeri woman
|
12 |
+
---
|
13 |
+
|
14 |
+
## Trigger words
|
15 |
+
You should use `hyeri woman` to trigger the image generation.
|
16 |
+
|
17 |
+
|
18 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
19 |
+
|
20 |
+
```py
|
21 |
+
from diffusers import AutoPipelineForText2Image
|
22 |
+
import torch
|
23 |
+
|
24 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
25 |
+
pipeline.load_lora_weights('ardha27/aislynn-flux-lora', weight_name='lora.safetensors')
|
26 |
+
image = pipeline('your prompt').images[0]
|
27 |
+
```
|