Skip to content

Commit 709cf55

Browse files
Typo in tutorial (#3295)
1 parent 536684e commit 709cf55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ To recreate the pipeline with the model and scheduler separately, let's write ou
9696

9797
>>> image = (input / 2 + 0.5).clamp(0, 1)
9898
>>> image = image.cpu().permute(0, 2, 3, 1).numpy()[0]
99-
>>> image = Image.fromarray((image * 255)).round().astype("uint8")
99+
>>> image = Image.fromarray((image * 255).round().astype("uint8"))
100100
>>> image
101101
```
102102

0 commit comments

Comments
 (0)