seawolf2357
commited on
Upload folder using huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- ai-toolkit
|
9 |
+
widget:
|
10 |
+
- text: A person with a pair of Burberry eyeglasses with a brown frame and clear
|
11 |
+
lenses on a white background. The glasses have a classic, timeless design
|
12 |
+
with the Burberry logo printed on the side. The lenses are tinted and the
|
13 |
+
frame is made of a durable material, making them perfect for everyday wear.
|
14 |
+
[trigger]
|
15 |
+
output:
|
16 |
+
url: samples/1728275827655__000001000_0.jpg
|
17 |
+
base_model: black-forest-labs/FLUX.1-dev
|
18 |
+
instance_prompt: glasses
|
19 |
+
license: other
|
20 |
+
license_name: flux-1-dev-non-commercial-license
|
21 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
22 |
+
---
|
23 |
+
|
24 |
+
# test-glasses
|
25 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
26 |
+
<Gallery />
|
27 |
+
|
28 |
+
## Trigger words
|
29 |
+
|
30 |
+
You should use `glasses` to trigger the image generation.
|
31 |
+
|
32 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
33 |
+
|
34 |
+
Weights for this model are available in Safetensors format.
|
35 |
+
|
36 |
+
[Download](/seawolf2357/test-glasses/tree/main) them in the Files & versions tab.
|
37 |
+
|
38 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
39 |
+
|
40 |
+
```py
|
41 |
+
from diffusers import AutoPipelineForText2Image
|
42 |
+
import torch
|
43 |
+
|
44 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
45 |
+
pipeline.load_lora_weights('seawolf2357/test-glasses', weight_name='test-glasses.safetensors')
|
46 |
+
image = pipeline('A person with a pair of Burberry eyeglasses with a brown frame and clear lenses on a white background. The glasses have a classic, timeless design with the Burberry logo printed on the side. The lenses are tinted and the frame is made of a durable material, making them perfect for everyday wear. [trigger]').images[0]
|
47 |
+
image.save("my_image.png")
|
48 |
+
```
|
49 |
+
|
50 |
+
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)
|
51 |
+
|
samples/1728275827655__000001000_0.jpg
ADDED
test-glasses.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b6cd0287b7a88bdd2c1e448aeae7f9ab58fab2cc13913ba7d0d5f4792aa8caf
|
3 |
+
size 171969408
|
test-glasses_000000250.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8fbf7d09cb46675b5ee55dae6d9cb5959d38a1a1b2b77552bec487a4c7c61287
|
3 |
+
size 171969400
|
test-glasses_000000500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f07a1a5e4130a3d00bd3adfa2ebe106a22cad6695af2c73104dd4b47fef9cafe
|
3 |
+
size 171969400
|
test-glasses_000000750.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9410e9ab2daadfacefd41e5ad61435e2be964b87879909f79424dfb8dd966ade
|
3 |
+
size 171969400
|