Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -1,3 +1,50 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- ai-toolkit
|
9 |
+
widget:
|
10 |
+
- text: 'trnz, A person in a bustling cafe '
|
11 |
+
output:
|
12 |
+
url: samples/1726638697364__000001000_0.jpg
|
13 |
+
- text: trnz, raining day, cat sitting on a cafe table
|
14 |
+
output:
|
15 |
+
url: samples/1726638748443__000001000_1.jpg
|
16 |
+
base_model: black-forest-labs/FLUX.1-dev
|
17 |
+
instance_prompt: trnz
|
18 |
+
license: other
|
19 |
+
license_name: flux-1-dev-non-commercial-license
|
20 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
21 |
+
---
|
22 |
+
|
23 |
+
# trnz-lora
|
24 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
25 |
+
<Gallery />
|
26 |
+
|
27 |
+
## Trigger words
|
28 |
+
|
29 |
+
You should use `trnz` to trigger the image generation.
|
30 |
+
|
31 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
32 |
+
|
33 |
+
Weights for this model are available in Safetensors format.
|
34 |
+
|
35 |
+
[Download](/michaeltseng/trnz-lora/tree/main) them in the Files & versions tab.
|
36 |
+
|
37 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
38 |
+
|
39 |
+
```py
|
40 |
+
from diffusers import AutoPipelineForText2Image
|
41 |
+
import torch
|
42 |
+
|
43 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
44 |
+
pipeline.load_lora_weights('michaeltseng/trnz-lora', weight_name='trnz-lora')
|
45 |
+
image = pipeline('trnz, A person in a bustling cafe ').images[0]
|
46 |
+
image.save("my_image.png")
|
47 |
+
```
|
48 |
+
|
49 |
+
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)
|
50 |
+
|
samples/1726638697364__000001000_0.jpg
ADDED
![]() |
samples/1726638748443__000001000_1.jpg
ADDED
![]() |
trnz-lora.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0fafd3d25d9922890cb540332f679fc36b03589449ffe7940a0b2184109265af
|
3 |
+
size 171969392
|
trnz-lora_000000250.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:baa048753ba3540a21ffb4117fb9f05acde34b583adf25d7df24c3aaf5b77570
|
3 |
+
size 171969392
|
trnz-lora_000000500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfe9d48d0e34a741062ac0c075ed32d7537d863ebe16a71c466fd6628fb3f253
|
3 |
+
size 171969392
|
trnz-lora_000000750.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6391972deeffa79715fd10ec6855d91e5f59ea1c46cf35a2c2942932fd9eece
|
3 |
+
size 171969392
|