Update README.md
Browse files
README.md
CHANGED
@@ -16,10 +16,10 @@ pipeline_tag: text-to-image
|
|
16 |
# prompt
|
17 |
# output:
|
18 |
# url: https://...
|
19 |
-
instance_prompt:
|
20 |
---
|
21 |
|
22 |
-
#
|
23 |
|
24 |
<!-- <Gallery /> -->
|
25 |
|
@@ -29,7 +29,7 @@ https://replicate.com/ostris/flux-dev-lora-trainer/train
|
|
29 |
|
30 |
|
31 |
## Trigger words
|
32 |
-
You should use `
|
33 |
|
34 |
|
35 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
@@ -39,7 +39,7 @@ from diffusers import AutoPipelineForText2Image
|
|
39 |
import torch
|
40 |
|
41 |
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
42 |
-
pipeline.load_lora_weights('Buenardoo/
|
43 |
image = pipeline('your prompt').images[0]
|
44 |
```
|
45 |
|
|
|
16 |
# prompt
|
17 |
# output:
|
18 |
# url: https://...
|
19 |
+
instance_prompt: TOK
|
20 |
---
|
21 |
|
22 |
+
# TINI
|
23 |
|
24 |
<!-- <Gallery /> -->
|
25 |
|
|
|
29 |
|
30 |
|
31 |
## Trigger words
|
32 |
+
You should use `TOK` to trigger the image generation.
|
33 |
|
34 |
|
35 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
|
|
39 |
import torch
|
40 |
|
41 |
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
42 |
+
pipeline.load_lora_weights('Buenardoo/tini', weight_name='lora.safetensors')
|
43 |
image = pipeline('your prompt').images[0]
|
44 |
```
|
45 |
|