1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Typo in tutorial (#3295)

This commit is contained in:
Ilia Larchenko
2023-05-01 20:44:30 +07:00
committed by GitHub
parent 536684eb2f
commit 709cf554f6

View File

@@ -96,7 +96,7 @@ To recreate the pipeline with the model and scheduler separately, let's write ou
>>> image = (input / 2 + 0.5).clamp(0, 1)
>>> image = image.cpu().permute(0, 2, 3, 1).numpy()[0]
>>> image = Image.fromarray((image * 255)).round().astype("uint8")
>>> image = Image.fromarray((image * 255).round().astype("uint8"))
>>> image
```