Upload folder using huggingface_hub
Browse files- .gitattributes +3 -0
- README.md +53 -0
- samples/1740420377791__000000800_0.jpg +3 -0
- samples/1740420407012__000000800_1.jpg +3 -0
- samples/1740420436065__000000800_2.jpg +3 -0
- test-greyscale-drawing.safetensors +3 -0
- test-greyscale-drawing_000000250.safetensors +3 -0
- test-greyscale-drawing_000000500.safetensors +3 -0
- test-greyscale-drawing_000000750.safetensors +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
samples/1740420377791__000000800_0.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
samples/1740420407012__000000800_1.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
samples/1740420436065__000000800_2.jpg filter=lfs diff=lfs merge=lfs -text
|
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: A person in a bustling cafe, greyscale drawing
|
11 |
+
output:
|
12 |
+
url: samples/1740420377791__000000800_0.jpg
|
13 |
+
- text: a train station, a train entering the station, greyscale drawing
|
14 |
+
output:
|
15 |
+
url: samples/1740420407012__000000800_1.jpg
|
16 |
+
- text: aerial view of Paris, greyscale drawing
|
17 |
+
output:
|
18 |
+
url: samples/1740420436065__000000800_2.jpg
|
19 |
+
base_model: black-forest-labs/FLUX.1-dev
|
20 |
+
instance_prompt: greyscale drawing
|
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 |
+
# test-greyscale-drawing
|
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 `greyscale drawing` 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](/fffiloni/test-greyscale-drawing/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('fffiloni/test-greyscale-drawing', weight_name='test-greyscale-drawing.safetensors')
|
48 |
+
image = pipeline('A person in a bustling cafe, greyscale drawing').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/1740420377791__000000800_0.jpg
ADDED
![]() |
Git LFS Details
|
samples/1740420407012__000000800_1.jpg
ADDED
![]() |
Git LFS Details
|
samples/1740420436065__000000800_2.jpg
ADDED
![]() |
Git LFS Details
|
test-greyscale-drawing.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a75882a1c8059f312105294a71be273f7ad183d847e47300ac4574d6faa10ab2
|
3 |
+
size 86049832
|
test-greyscale-drawing_000000250.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:669ff7922f2dd5bbb9bbb5455d00260b183a8cc5e03112b6d7a65af0b5b6c394
|
3 |
+
size 86049832
|
test-greyscale-drawing_000000500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3818ab8d8df295d1cd37c516f12b92ce410a79af3dc00ac21a7e957a4d567aa
|
3 |
+
size 86049832
|
test-greyscale-drawing_000000750.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:276c473fe1cf93068e85251f29b36f02b952f78c0fea79be00b42865c6d340cd
|
3 |
+
size 86049832
|