Skip to content

Commit f539497

Browse files
Remove the line. Using it create wrong output (huggingface#7075)
Co-authored-by: Sayak Paul <[email protected]>
1 parent 39dfb7a commit f539497

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/source/en/using-diffusers/write_own_pipeline.md

-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ Lastly, convert the image to a `PIL.Image` to see your generated image!
273273
```py
274274
>>> image = (image / 2 + 0.5).clamp(0, 1).squeeze()
275275
>>> image = (image.permute(1, 2, 0) * 255).to(torch.uint8).cpu().numpy()
276-
>>> image = (image * 255).round().astype("uint8")
277276
>>> image = Image.fromarray(image)
278277
>>> image
279278
```

0 commit comments

Comments
 (0)