Update README.md
Browse files
README.md
CHANGED
|
@@ -74,7 +74,7 @@ import torch
|
|
| 74 |
from PIL import Image
|
| 75 |
|
| 76 |
# Load the pipeline
|
| 77 |
-
pipeline = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit")
|
| 78 |
pipeline.to(torch.bfloat16)
|
| 79 |
pipeline.to("cuda")
|
| 80 |
```
|
|
@@ -83,7 +83,7 @@ pipeline.to("cuda")
|
|
| 83 |
|
| 84 |
```python
|
| 85 |
# Load trained LoRA weights for in-scene editing
|
| 86 |
-
pipeline.load_lora_weights("flymy-ai/qwen-image-edit-inscene-lora",weight_name="
|
| 87 |
```
|
| 88 |
|
| 89 |
### 🎨 Edit Image with Qwen-Image-Edit Inscene LoRA
|
|
|
|
| 74 |
from PIL import Image
|
| 75 |
|
| 76 |
# Load the pipeline
|
| 77 |
+
pipeline = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509")
|
| 78 |
pipeline.to(torch.bfloat16)
|
| 79 |
pipeline.to("cuda")
|
| 80 |
```
|
|
|
|
| 83 |
|
| 84 |
```python
|
| 85 |
# Load trained LoRA weights for in-scene editing
|
| 86 |
+
pipeline.load_lora_weights("flymy-ai/qwen-image-edit-2509-inscene-lora", weight_name="pytorch_lora_weights.safetensors")
|
| 87 |
```
|
| 88 |
|
| 89 |
### 🎨 Edit Image with Qwen-Image-Edit Inscene LoRA
|