Instructions to use peteromallet/Qwen-Image-Edit-InScene with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use peteromallet/Qwen-Image-Edit-InScene 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", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("peteromallet/Qwen-Image-Edit-InScene") 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] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things

- Xet hash:
- 7119c32960c76f6103f1f174816a21ec2323e7149c92a1fdd78d10efd434f161
- Size of remote file:
- 6.06 MB
- SHA256:
- 4f8c837b103b38c8c303a6bd49261f4360daf9a7b501697c59e7e0b9467a9b2d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.