Instructions to use prithivMLmods/Qwen-Image-Edit-2511-Object-Remover with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Qwen-Image-Edit-2511-Object-Remover 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-2511", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/Qwen-Image-Edit-2511-Object-Remover") 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -50,7 +50,7 @@ input_image = load_image(
|
|
| 50 |
image = pipe(image=input_image, prompt=prompt).images[0]
|
| 51 |
```
|
| 52 |
|
| 53 |
-
## **Sample Inferences**
|
| 54 |
|
| 55 |
| Input Image | Edit Prompt | Output Image |
|
| 56 |
|------------|-------------|--------------|
|
|
|
|
| 50 |
image = pipe(image=input_image, prompt=prompt).images[0]
|
| 51 |
```
|
| 52 |
|
| 53 |
+
## **Sample Inferences(Remove Objects)**
|
| 54 |
|
| 55 |
| Input Image | Edit Prompt | Output Image |
|
| 56 |
|------------|-------------|--------------|
|