Instructions to use dx8152/Qwen-Image-Edit-2509-Relight with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dx8152/Qwen-Image-Edit-2509-Relight with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("dx8152/Qwen-Image-Edit-2509-Relight") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md to fix some typos and and the sources (#8)
Browse files- Update README.md to fix some typos and and the sources (fd7b78a0a5c5ff197706c25c871b5ec46d48786f)
Co-authored-by: 🎬cinema_anon <qpqpqpqpqpqp@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -11,25 +11,22 @@ tags:
|
|
| 11 |
- re-light
|
| 12 |
- kontext
|
| 13 |
---
|
| 14 |
-
Welcome everyone to use Lora of Qwen-Edit-2509 of Image Fusion,
|
| 15 |
|
| 16 |
-
There are two ways to use it: 1. Use the
|
| 17 |
"
|
| 18 |
重新照明
|
| 19 |
"。 (For example:重新照明,使用窗帘透光(柔和漫射)的光线对图片进行重新照明) Meaning: Relighting, using the soft, diffuse light from the curtains to relight the image.
|
| 20 |
|
| 21 |
-
(I also uploaded the re-
|
| 22 |
|
|
|
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
You also need this lora to use together: https://huggingface.co/lightx2v/Qwen-Image-Lightning/tree/main
|
| 28 |
-
|
| 29 |
|
| 30 |
This is the effect used by Lora: https://youtu.be/GmDZmzoseFk
|
| 31 |
|
| 32 |
-
For communication/cooperation, you can join the discord group to communicate:
|
| 33 |
|
| 34 |
If these resources are helpful to you, or if you use them for business purposes, please buy me a coffee. Thank you for supporting original content! PayPal: Daniel8152
|
| 35 |
|
|
|
|
| 11 |
- re-light
|
| 12 |
- kontext
|
| 13 |
---
|
| 14 |
+
Welcome everyone to use Lora of Qwen-Edit-2509 of Image Fusion, its performance is amazing!
|
| 15 |
|
| 16 |
+
There are two ways to use it: 1. Use the prompts in the dataset to change the image directly. 2. Use the trigger word:
|
| 17 |
"
|
| 18 |
重新照明
|
| 19 |
"。 (For example:重新照明,使用窗帘透光(柔和漫射)的光线对图片进行重新照明) Meaning: Relighting, using the soft, diffuse light from the curtains to relight the image.
|
| 20 |
|
| 21 |
+
(I also uploaded the re-light LoRAs for Kontext downloaded from the Internet. The sources are https://civit.ai/models/1779918 and https://hf.co/dong625/kontext_loras/tree/main )
|
| 22 |
|
| 23 |
+
Instructions: Download the lora file(Qwen-Edit-Relight.safetensors to the models/loras folder.
|
| 24 |
|
| 25 |
+
You also need this lora and use them together: https://huggingface.co/lightx2v/Qwen-Image-Lightning/tree/main
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
This is the effect used by Lora: https://youtu.be/GmDZmzoseFk
|
| 28 |
|
| 29 |
+
For communication/cooperation, you can join the discord group to communicate:https://discord.gg/Qbq3VdjK
|
| 30 |
|
| 31 |
If these resources are helpful to you, or if you use them for business purposes, please buy me a coffee. Thank you for supporting original content! PayPal: Daniel8152
|
| 32 |
|