dhanushreddy29
commited on
Commit
•
e91e752
1
Parent(s):
f6eb86b
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: tshirt design, a cat with sunglasses lounging on a hammock with text 'Purr-fect
|
11 |
+
Vacation' in a playful font. tdsgn
|
12 |
+
output:
|
13 |
+
url: samples/1732630500405__000002000_0.jpg
|
14 |
+
- text: Vector art of a lion riding a bicycle, wearing sporty attire. A logo in
|
15 |
+
the background with the text 'Need to stay fit y'all' in bold, stylish font.
|
16 |
+
Designed as a creative and vibrant t-shirt design, tdsgn
|
17 |
+
output:
|
18 |
+
url: samples/1732630515114__000002000_1.jpg
|
19 |
+
base_model: black-forest-labs/FLUX.1-schnell
|
20 |
+
instance_prompt: tdsgn
|
21 |
+
license: apache-2.0
|
22 |
+
|
23 |
+
|
24 |
+
---
|
25 |
+
|
26 |
+
# tshirt-design-2
|
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 `tdsgn` 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](/dhanushreddy29/tshirt-design-2/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-schnell', torch_dtype=torch.bfloat16).to('cuda')
|
47 |
+
pipeline.load_lora_weights('dhanushreddy29/tshirt-design-2', weight_name='tshirt-design-2.safetensors')
|
48 |
+
image = pipeline('tshirt design, a cat with sunglasses lounging on a hammock with text 'Purr-fect Vacation' in a playful font. tdsgn').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 |
+
|
samples/1732629036605__000001000_0.jpg
ADDED
samples/1732629051345__000001000_1.jpg
ADDED
samples/1732630500405__000002000_0.jpg
ADDED
samples/1732630515114__000002000_1.jpg
ADDED
tshirt-design-2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10a9ae30e73df398fe28fbb4077543d727ac97011328abbad275c665057c185b
|
3 |
+
size 171969408
|