Commit
•
f01e32c
1
Parent(s):
cd6d869
Update README.md
Browse files
README.md
CHANGED
@@ -58,7 +58,7 @@ tags:
|
|
58 |
should probably proofread and complete it, then remove this comment. -->
|
59 |
|
60 |
|
61 |
-
# Flux DreamBooth LoRA -
|
62 |
|
63 |
<Gallery />
|
64 |
|
@@ -72,7 +72,7 @@ Was LoRA for the text encoder enabled? False.
|
|
72 |
|
73 |
## Trigger words
|
74 |
|
75 |
-
You should use
|
76 |
|
77 |
## Download model
|
78 |
|
@@ -85,7 +85,7 @@ from diffusers import AutoPipelineForText2Image
|
|
85 |
import torch
|
86 |
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
87 |
pipeline.load_lora_weights('davidberenstein1957/image-preferences-flux-dev-lora', weight_name='pytorch_lora_weights.safetensors')
|
88 |
-
image = pipeline('').images[0]
|
89 |
```
|
90 |
|
91 |
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)
|
|
|
58 |
should probably proofread and complete it, then remove this comment. -->
|
59 |
|
60 |
|
61 |
+
# Flux DreamBooth LoRA - data-is-better-together/image-preferences-flux-dev-lora
|
62 |
|
63 |
<Gallery />
|
64 |
|
|
|
72 |
|
73 |
## Trigger words
|
74 |
|
75 |
+
You should use `["Cinematic", "Photographic", "Anime", "Manga", "Digital art", "Pixel art", "Fantasy art", "Neonpunk", "3D Model", “Painting”, “Animation” “Illustration”]` to trigger the image generation.
|
76 |
|
77 |
## Download model
|
78 |
|
|
|
85 |
import torch
|
86 |
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
87 |
pipeline.load_lora_weights('davidberenstein1957/image-preferences-flux-dev-lora', weight_name='pytorch_lora_weights.safetensors')
|
88 |
+
image = pipeline('["Cinematic", "Photographic", "Anime", "Manga", "Digital art", "Pixel art", "Fantasy art", "Neonpunk", "3D Model", “Painting”, “Animation” “Illustration”]').images[0]
|
89 |
```
|
90 |
|
91 |
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)
|