Instructions to use lrzjason/QwenEdit-Anything2Real_Alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lrzjason/QwenEdit-Anything2Real_Alpha 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("lrzjason/QwenEdit-Anything2Real_Alpha") 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
- Draw Things
add pipeline tag for better discoverability (#4)
Browse files- add pipeline tag for better discoverability (c6d5b4947283a0bf4a560a26657ee18e0750f54d)
Co-authored-by: Linoy Tsaban <linoyts@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -5,6 +5,7 @@ base_model:
|
|
| 5 |
library_name: diffusers
|
| 6 |
tags:
|
| 7 |
- lora
|
|
|
|
| 8 |
---
|
| 9 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/TnU63uGrXeGj7Xq7CZhms.png" style="max-height:400px"/>
|
| 10 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/LXd-82OpR0aMJ4OSmWL1a.png" style="max-height:400px"/>
|
|
|
|
| 5 |
library_name: diffusers
|
| 6 |
tags:
|
| 7 |
- lora
|
| 8 |
+
pipeline_tag: image-to-image
|
| 9 |
---
|
| 10 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/TnU63uGrXeGj7Xq7CZhms.png" style="max-height:400px"/>
|
| 11 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/LXd-82OpR0aMJ4OSmWL1a.png" style="max-height:400px"/>
|