Skip to content

Commit be5f00a

Browse files
committed
Fixes syntax for consistency among pipelines
1 parent 1448b03 commit be5f00a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/en/api/pipelines/qwenimage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The `guidance_scale` parameter in the pipeline is there to support future guidan
101101

102102
With [`QwenImageEditPlusPipeline`], one can provide multiple images as input reference.
103103

104-
```
104+
```py
105105
import torch
106106
from PIL import Image
107107
from diffusers import QwenImageEditPlusPipeline

tests/pipelines/qwenimage/test_qwenimage_edit_plus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_inference(self):
164164
self.assertEqual(generated_image.shape, (3, 32, 32))
165165

166166
# fmt: off
167-
expected_slice = torch.tensor([[0.5637, 0.6341, 0.6001, 0.5620, 0.5794, 0.5498, 0.5757, 0.6389, 0.4174, 0.3597, 0.5649, 0.4894, 0.4969, 0.5255, 0.4083, 0.4986]])
167+
expected_slice = torch.tensor([0.5637, 0.6341, 0.6001, 0.5620, 0.5794, 0.5498, 0.5757, 0.6389, 0.4174, 0.3597, 0.5649, 0.4894, 0.4969, 0.5255, 0.4083, 0.4986])
168168
# fmt: on
169169

170170
generated_slice = generated_image.flatten()

0 commit comments

Comments
 (0)