Instructions to use joyfox/Qwen-Image-Edit-Remover-General-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/Qwen-Image-Edit-Remover-General-LoRA 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("joyfox/Qwen-Image-Edit-Remover-General-LoRA") prompt = "移除猫猫 " 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,7 +37,7 @@ The greatest advantage of using this LORA is that it maintains the consistency o
|
|
| 37 |
|
| 38 |
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
| 39 |
<h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
|
| 40 |
-
<p>This LoRA works with a modified version of <a href="https://huggingface.co/valiantcat/Qwen-Image-Edit-Remover-General-LoRA/blob/main/Qwen-Edit-LORA.json" style="color: #0366d6; text-decoration: none;">Comfy's Qwen-Image workflow</a>. The main modification is adding a Qwen-Image-Edit LoRA node connected to the base model.</p>
|
| 41 |
<p>See the Downloads section above for the modified workflow.</p>
|
| 42 |
</div>
|
| 43 |
|
|
|
|
| 37 |
|
| 38 |
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
| 39 |
<h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
|
| 40 |
+
<p>This LoRA works with a modified version of <a href="https://huggingface.co/valiantcat/Qwen-Image-Edit-Remover-General-LoRA/blob/main/Qwen-Edit-LORA.json" style="color: #0366d6; text-decoration: none;">Comfy's Qwen-Image-Edit workflow</a>. The main modification is adding a Qwen-Image-Edit LoRA node connected to the base model.</p>
|
| 41 |
<p>See the Downloads section above for the modified workflow.</p>
|
| 42 |
</div>
|
| 43 |
|