Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -382,7 +382,7 @@ dtype = torch.bfloat16
|
|
| 382 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 383 |
|
| 384 |
pipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509",
|
| 385 |
-
transformer= QwenImageTransformer2DModel.from_pretrained("linoyts/Qwen-Image-Edit-Rapid-AIO",
|
| 386 |
subfolder='transformer',
|
| 387 |
torch_dtype=dtype,
|
| 388 |
device_map='cuda'),torch_dtype=dtype).to(device)
|
|
|
|
| 382 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 383 |
|
| 384 |
pipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509",
|
| 385 |
+
transformer= QwenImageTransformer2DModel.from_pretrained("linoyts/Qwen-Image-Edit-Rapid-AIO-v10",
|
| 386 |
subfolder='transformer',
|
| 387 |
torch_dtype=dtype,
|
| 388 |
device_map='cuda'),torch_dtype=dtype).to(device)
|