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

Update README.md

This commit is contained in:
Patrick von Platen
2022-06-07 15:13:39 +02:00
committed by GitHub
parent ef4365c6ef
commit eee80dd2f2

View File

@@ -34,6 +34,7 @@ import numpy as np
generator = torch.Generator()
generator = generator.manual_seed(6694729458485568)
torch_device = "cuda" if torch.cuda.is_available() else "cpu"
# 1. Load models
scheduler = GaussianDDPMScheduler.from_config("fusing/ddpm-lsun-church")