seawolf2357
commited on
Commit
•
5310046
1
Parent(s):
3203457
Upload folder using huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- ai-toolkit
|
9 |
+
widget:
|
10 |
+
- text: driving, self-propelled artillery 'K9'
|
11 |
+
output:
|
12 |
+
url: samples/1726576049901__000001000_0.jpg
|
13 |
+
- text: fire, self-propelled artillery 'K9'
|
14 |
+
output:
|
15 |
+
url: samples/1726576075191__000001000_1.jpg
|
16 |
+
- text: battle, self-propelled artillery 'K9'
|
17 |
+
output:
|
18 |
+
url: samples/1726576100467__000001000_2.jpg
|
19 |
+
base_model: black-forest-labs/FLUX.1-dev
|
20 |
+
instance_prompt: self-propelled artillery 'K9'
|
21 |
+
license: other
|
22 |
+
license_name: flux-1-dev-non-commercial-license
|
23 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
24 |
+
---
|
25 |
+
|
26 |
+
# flux-lora-military-artillery-k9
|
27 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
28 |
+
<Gallery />
|
29 |
+
|
30 |
+
## Trigger words
|
31 |
+
|
32 |
+
You should use ` self-propelled artillery 'K9'` to trigger the image generation.
|
33 |
+
|
34 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
35 |
+
|
36 |
+
Weights for this model are available in Safetensors format.
|
37 |
+
|
38 |
+
[Download](/seawolf2357/flux-lora-military-artillery-k9/tree/main) them in the Files & versions tab.
|
39 |
+
|
40 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
41 |
+
|
42 |
+
```py
|
43 |
+
from diffusers import AutoPipelineForText2Image
|
44 |
+
import torch
|
45 |
+
|
46 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
47 |
+
pipeline.load_lora_weights('seawolf2357/flux-lora-military-artillery-k9', weight_name='flux-lora-military-artillery-k9')
|
48 |
+
image = pipeline('driving, self-propelled artillery 'K9'').images[0]
|
49 |
+
image.save("my_image.png")
|
50 |
+
```
|
51 |
+
|
52 |
+
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)
|
53 |
+
|
flux-lora-military-artillery-k9.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:879fb31e0d470e4677c5a90a2fa94ae73e01c5f0c5ee8602b432db979dbee364
|
3 |
+
size 171969488
|
samples/1726576049901__000001000_0.jpg
ADDED
samples/1726576075191__000001000_1.jpg
ADDED
samples/1726576100467__000001000_2.jpg
ADDED