linoyts HF Staff commited on
Commit
344594c
·
verified ·
1 Parent(s): 6718af1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +45 -0
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - lora
5
+ - diffusers
6
+ - template:sd-lora
7
+ - ai-toolkit
8
+ base_model: Qwen/Qwen-Image-Edit
9
+ license: creativeml-openrail-m
10
+ inference:
11
+ parameters:
12
+ width: 1024
13
+ height: 1024
14
+ ---
15
+
16
+ # relight-qwen-edit-lora
17
+
18
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
19
+
20
+
21
+
22
+ ## Trigger words
23
+
24
+ No trigger words defined.
25
+
26
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
27
+
28
+ Weights for this model are available in Safetensors format.
29
+
30
+ [Download](linoyts/relight-qwen-edit-lora/tree/main) them in the Files & versions tab.
31
+
32
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
33
+
34
+ ```py
35
+ from diffusers import AutoPipelineForText2Image
36
+ import torch
37
+
38
+ pipeline = AutoPipelineForText2Image.from_pretrained('Qwen/Qwen-Image-Edit', torch_dtype=torch.float16).to('cuda')
39
+ pipeline.load_lora_weights('linoyts/relight-qwen-edit-lora', weight_name='relight-qwen-edit_000000250.safetensors')
40
+ image = pipeline('a beautiful landscape').images[0]
41
+ image.save("my_image.png")
42
+ ```
43
+
44
+ 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)
45
+