Add model files
Browse files
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- flux
|
| 5 |
+
- lora
|
| 6 |
+
- diffusers
|
| 7 |
+
- template:sd-lora
|
| 8 |
+
- ai-toolkit
|
| 9 |
+
widget:
|
| 10 |
+
- text: woman with red hair, playing chess at the park, bomb going off in the background
|
| 11 |
+
output:
|
| 12 |
+
url: samples/1727705731570__000002000_0.jpg
|
| 13 |
+
- text: a woman holding a coffee cup, in a beanie, sitting at a cafe
|
| 14 |
+
output:
|
| 15 |
+
url: samples/1727705748892__000002000_1.jpg
|
| 16 |
+
- text: a horse is a DJ at a night club, fish eye lens, smoke machine, lazer lights,
|
| 17 |
+
holding a martini
|
| 18 |
+
output:
|
| 19 |
+
url: samples/1727705766197__000002000_2.jpg
|
| 20 |
+
- text: a man showing off his cool new t shirt at the beach, a shark is jumping
|
| 21 |
+
out of the water in the background
|
| 22 |
+
output:
|
| 23 |
+
url: samples/1727705783492__000002000_3.jpg
|
| 24 |
+
- text: a bear building a log cabin in the snow covered mountains
|
| 25 |
+
output:
|
| 26 |
+
url: samples/1727705800791__000002000_4.jpg
|
| 27 |
+
- text: woman playing the guitar, on stage, singing a song, laser lights, punk rocker
|
| 28 |
+
output:
|
| 29 |
+
url: samples/1727705818071__000002000_5.jpg
|
| 30 |
+
- text: hipster man with a beard, building a chair, in a wood shop
|
| 31 |
+
output:
|
| 32 |
+
url: samples/1727705835387__000002000_6.jpg
|
| 33 |
+
- text: photo of a man, white background, medium shot, modeling clothing, studio
|
| 34 |
+
lighting, white backdrop
|
| 35 |
+
output:
|
| 36 |
+
url: samples/1727705852686__000002000_7.jpg
|
| 37 |
+
- text: a man holding a sign that says, 'this is a sign'
|
| 38 |
+
output:
|
| 39 |
+
url: samples/1727705869996__000002000_8.jpg
|
| 40 |
+
- text: a bulldog, in a post apocalyptic world, with a shotgun, in a leather jacket,
|
| 41 |
+
in a desert, with a motorcycle
|
| 42 |
+
output:
|
| 43 |
+
url: samples/1727705887388__000002000_9.jpg
|
| 44 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 45 |
+
|
| 46 |
+
license: other
|
| 47 |
+
license_name: flux-1-dev-non-commercial-license
|
| 48 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
# my_first_flux_lora_v1
|
| 52 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
| 53 |
+
<Gallery />
|
| 54 |
+
|
| 55 |
+
## Trigger words
|
| 56 |
+
|
| 57 |
+
No trigger words defined.
|
| 58 |
+
|
| 59 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
| 60 |
+
|
| 61 |
+
Weights for this model are available in Safetensors format.
|
| 62 |
+
|
| 63 |
+
[Download](/None/tree/main) them in the Files & versions tab.
|
| 64 |
+
|
| 65 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 66 |
+
|
| 67 |
+
```py
|
| 68 |
+
from diffusers import AutoPipelineForText2Image
|
| 69 |
+
import torch
|
| 70 |
+
|
| 71 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
| 72 |
+
pipeline.load_lora_weights('None', weight_name='my_first_flux_lora_v1.safetensors')
|
| 73 |
+
image = pipeline('woman with red hair, playing chess at the park, bomb going off in the background').images[0]
|
| 74 |
+
image.save("my_image.png")
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
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)
|
| 78 |
+
|