mlgawd commited on
Commit
364154d
·
verified ·
1 Parent(s): f152bfd

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - lora
5
+ - diffusers
6
+ - template:sd-lora
7
+ - ai-toolkit
8
+ widget:
9
+ - text: make the person smile --ctrl_img /my_workspace/server/control_folder/1.png
10
+ output:
11
+ url: samples/1758704475917__000000010_0.jpg
12
+ base_model: black-forest-labs/FLUX.1-Kontext-dev
13
+
14
+ license: creativeml-openrail-m
15
+
16
+
17
+ ---
18
+
19
+ # my_flux_kontext_lora_v1
20
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
21
+ <Gallery />
22
+
23
+ ## Trigger words
24
+
25
+ No trigger words defined.
26
+
27
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
28
+
29
+ Weights for this model are available in Safetensors format.
30
+
31
+ [Download](/stablediffusionapi/my_flux_kontext_lora_v1/tree/main) them in the Files & versions tab.
32
+
33
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
34
+
35
+ ```py
36
+ from diffusers import AutoPipelineForText2Image
37
+ import torch
38
+
39
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-Kontext-dev', torch_dtype=torch.float16).to('cuda')
40
+ pipeline.load_lora_weights('stablediffusionapi/my_flux_kontext_lora_v1', weight_name='my_flux_kontext_lora_v1.safetensors')
41
+ image = pipeline('make the person smile --ctrl_img /my_workspace/server/control_folder/1.png').images[0]
42
+ image.save("my_image.png")
43
+ ```
44
+
45
+ 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)
46
+
my_flux_kontext_lora_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:666d8884deffb994a18105c8c2c5ef2c2493733110273c86d1e58a90727be1a1
3
+ size 171969376
samples/1758704044277__000000000_0.jpg ADDED
samples/1758704327183__000000000_0.jpg ADDED
samples/1758704475917__000000010_0.jpg ADDED