openfree commited on
Commit
b6ab9e8
·
verified ·
1 Parent(s): d91edc6

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Sergey Lazarev as USA president, rainbow hair color, pink suit, 26K
11
+
12
+ '
13
+ output:
14
+ url: samples/1746278529264__000001111_0.jpg
15
+ - text: 'A Sergey Lazarev as italian gangster, joyful face, green suit, location
16
+ - Japan, 26K
17
+
18
+ '
19
+ output:
20
+ url: samples/1746278559468__000001111_1.jpg
21
+ - text: A Sergey Lazarev as a spain policeman, happy face, real photo, best quality,
22
+ 26K
23
+ output:
24
+ url: samples/1746278589630__000001111_2.jpg
25
+ base_model: black-forest-labs/FLUX.1-dev
26
+ instance_prompt: Sergey Lazarev
27
+ license: other
28
+ license_name: flux-1-dev-non-commercial-license
29
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
30
+ ---
31
+
32
+ # sergey-lazarev
33
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
34
+ <Gallery />
35
+
36
+ ## Trigger words
37
+
38
+ You should use `Sergey Lazarev` to trigger the image generation.
39
+
40
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
41
+
42
+ Weights for this model are available in Safetensors format.
43
+
44
+ [Download](/openfree/sergey-lazarev/tree/main) them in the Files & versions tab.
45
+
46
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
47
+
48
+ ```py
49
+ from diffusers import AutoPipelineForText2Image
50
+ import torch
51
+
52
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
53
+ pipeline.load_lora_weights('openfree/sergey-lazarev', weight_name='sergey-lazarev.safetensors')
54
+ image = pipeline('A Sergey Lazarev as USA president, rainbow hair color, pink suit, 26K
55
+ ').images[0]
56
+ image.save("my_image.png")
57
+ ```
58
+
59
+ 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)
60
+
samples/1746278252876__000001000_0.jpg ADDED
samples/1746278283223__000001000_1.jpg ADDED
samples/1746278313213__000001000_2.jpg ADDED
samples/1746278529264__000001111_0.jpg ADDED
samples/1746278559468__000001111_1.jpg ADDED
samples/1746278589630__000001111_2.jpg ADDED
sergey-lazarev.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:239358811dca494a4fe7d0b1467b9e37b051ea26c7a6b104ff7d69a18999aa92
3
+ size 171969424