Update README.md code to import `torch`

#43
by simon-mo - opened

The sample code snippet doesn't run by itself because torch would be undefined in

StableDiffusionPipeline.from_pretrained(model_id, scheduler=scheduler, torch_dtype=torch.float16)
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment