Upload folder using huggingface_hub
Browse files- .gitattributes +3 -0
- README.md +64 -0
- samples/1746161368958__000001000_0.jpg +3 -0
- samples/1746161398920__000001000_1.jpg +3 -0
- samples/1746161428908__000001000_2.jpg +3 -0
- van-gogh.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/1746161368958__000001000_0.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
samples/1746161398920__000001000_1.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
samples/1746161428908__000001000_2.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 self-portrait of Vincent van Gogh, painted by the renowned artist himself.
|
11 |
+
The painting is composed of a variety of colors, including blues, greens,
|
12 |
+
yellows, and reds, creating a vibrant and lively atmosphere. The man in the
|
13 |
+
painting has a serious expression on his face, and his eyes are focused intently
|
14 |
+
on something in the distance. His hair is dark and his beard is full and well-groomed.
|
15 |
+
He is wearing a white shirt and a dark coat, and the background is a mix of
|
16 |
+
blues and greens. [trigger]
|
17 |
+
output:
|
18 |
+
url: samples/1746161368958__000001000_0.jpg
|
19 |
+
- text: a painting of a bedroom with a bed, two chairs, a table with various objects
|
20 |
+
on it, a window, a door, and photo frames on the wall. The painting is done
|
21 |
+
in a style reminiscent of Vincent van Gogh's bedroom, with the bed and chairs
|
22 |
+
in the foreground and the window and door in the background. [trigger]
|
23 |
+
output:
|
24 |
+
url: samples/1746161398920__000001000_1.jpg
|
25 |
+
- text: Vincent van Gogh's painting of two boats on the Seine at Argenteuil, with
|
26 |
+
a person sitting in one of the boats, surrounded by trees and a bridge in
|
27 |
+
the background, and a sky above. [trigger]
|
28 |
+
output:
|
29 |
+
url: samples/1746161428908__000001000_2.jpg
|
30 |
+
base_model: black-forest-labs/FLUX.1-dev
|
31 |
+
instance_prompt: gogh
|
32 |
+
license: other
|
33 |
+
license_name: flux-1-dev-non-commercial-license
|
34 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
35 |
+
---
|
36 |
+
|
37 |
+
# van-gogh
|
38 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
39 |
+
<Gallery />
|
40 |
+
|
41 |
+
## Trigger words
|
42 |
+
|
43 |
+
You should use `gogh` to trigger the image generation.
|
44 |
+
|
45 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
46 |
+
|
47 |
+
Weights for this model are available in Safetensors format.
|
48 |
+
|
49 |
+
[Download](/openfree/van-gogh/tree/main) them in the Files & versions tab.
|
50 |
+
|
51 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
52 |
+
|
53 |
+
```py
|
54 |
+
from diffusers import AutoPipelineForText2Image
|
55 |
+
import torch
|
56 |
+
|
57 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
58 |
+
pipeline.load_lora_weights('openfree/van-gogh', weight_name='van-gogh.safetensors')
|
59 |
+
image = pipeline('a self-portrait of Vincent van Gogh, painted by the renowned artist himself. The painting is composed of a variety of colors, including blues, greens, yellows, and reds, creating a vibrant and lively atmosphere. The man in the painting has a serious expression on his face, and his eyes are focused intently on something in the distance. His hair is dark and his beard is full and well-groomed. He is wearing a white shirt and a dark coat, and the background is a mix of blues and greens. [trigger]').images[0]
|
60 |
+
image.save("my_image.png")
|
61 |
+
```
|
62 |
+
|
63 |
+
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)
|
64 |
+
|
samples/1746161368958__000001000_0.jpg
ADDED
![]() |
Git LFS Details
|
samples/1746161398920__000001000_1.jpg
ADDED
![]() |
Git LFS Details
|
samples/1746161428908__000001000_2.jpg
ADDED
![]() |
Git LFS Details
|
van-gogh.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69697a4a1a7bde9b7f43191f7c9c50f81ba9134aa8b6e4bc27e41653fc670f72
|
3 |
+
size 171969392
|